Cannot Drop Table that Shows in dba_tables
In my IDE I see two tables that I no longer need. I created them as a test to see the difference between LOGGING vs NOLOGGING. Now I want to drop the tables.
I issue the command drop table customers_no_logging.
The system responds with ORA-00942: table or view does not exist.
However, select table_name from dba_tables returns the table names in question.
Even in sqlplus I get the same result:
SQL> select table_name from dba_tables where owner = 'RUB';
TABLE_NAME
CUSTOMERS
INV_ITEM_MASTER
INV_SITE
CUSTOMERS_w_log
CUSTOMERS_no_log
5 rows selected.
SQL> drop table CUSTOMERS_no_log;
drop table CUSTOMERS_no_log
ERROR at line 1:
ORA-00942: table or view does not exist
How can I drop these tables?
Thanks,
Gregory
I was connected as RUB in my IDE and SYS in SQLPlus.
I have connected as RUB in SQLPlus and tried
SQL> drop table "RUB.CUSTOMERS_no_log";
drop table "RUB.CUSTOMERS_no_log"
ERROR at line 1:
ORA-00942: table or view does not exist
Maybe I need to stop and restart the DB?
Gregory
Similar Messages
-
Dear All,
I created one table like
create table cls_lrn_tab_unique (F_no number unique UK_F_NO );
after performing some operations I want to delete the same.
At that time i got following error. Please help me and tell what is the reason for the error.
ORA-00604 error occured at recursive level1
ORA-20123 Insufficient privileges: you cannot drop table cls_lrn_tab_unique TABLE,
ORA-06512 at line no 2
Thanks and Regards
Prasad26bffcad-f9a2-4dcf-afa0-e1e33d0281bf wrote:
Dear All,
I created one table like
create table cls_lrn_tab_unique (F_no number unique UK_F_NO );
after performing some operations I want to delete the same.
At that time i got following error. Please help me and tell what is the reason for the error.
ORA-00604 error occured at recursive level1
ORA-20123 Insufficient privileges: you cannot drop table cls_lrn_tab_unique TABLE,
ORA-06512 at line no 2
Thanks and Regards
Prasad
ORA-20123 is a localized/customized error code & message; therefore any solution depends upon what is unique inside your DB now.
I suspect that some sort of TRIGGER exists, which throws posted error, but this is just idle speculation on my part.
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002 -
# Question
When I type in "www" in the navagation space of the home page I get a drop down that shows all the web sites I have visited! How do I turn this off? editThat drop-down shows matches from your History and/or Bookmarks. To change what is shown, see "Controlling Behavior" in this article:
*https://support.mozilla.com/en-US/kb/Location%20bar%20autocomplete
<br />
The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
*Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
**New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
**See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
*Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
#'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
#*'''Note: plugin check page does not have information on all plugin versions'''
#'''Update Adobe Reader (PDF plugin):'''
#*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
#**Open the Adobe Reader program from your Programs list
#**Click Help > Check for Updates
#**Follow the prompts for updating
#**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
#*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
#**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
#**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
#**Click "Save to File"; save to your Desktop (so you can find it)
#**After download completes, close Firefox
#**Click the installer you just downloaded and allow the install to continue
#***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
#**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
#***Choose your OS
#***Choose the latest #.x version (example 9.x, for version 9)
#***Choose the highest number version listed
#****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
#***Choose your language
#***Download the file
#***Windows: choose the .exe file; Mac: choose the .dmg file
#*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
#**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
#**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
#*After the installation, start Firefox and check your version again.
#'''Update the [[Java]] plugin''' to the latest version.
#*Download site: http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
#*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
#* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
#* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
#*Java Test: http://www.java.com/en/download/help/testvm.xml -
Versions are Oracle 11.2.0.1.0 and SQL Developer 4.0.0.12 on Windows 7 Ultimate SP1.
Hi
I'm following the CBT Nuggets SQL Fundementals training (video #11) and cannot drop a table I have just created. The command executed and error are:
drop table newprods;
Error starting at line : 1 in command -
drop table newprods
Error report -
SQL Error: ORA-00604: error occurred at recursive SQL level 1
ORA-20000: Cannot drop object
ORA-06512: at line 2
00604. 00000 - "error occurred at recursive SQL level %s"
*Cause: An error occurred while processing a recursive SQL statement
(a statement applying to internal dictionary tables).
*Action: If the situation described in the next error on the stack
can be corrected, do so; otherwise contact Oracle Support.
As the HR user I created two tables and created a FK constraint between them. After truncating the table with this FK, I am unable to drop it. Even if I remove the FK, the error is the same. Issing the command in SQL*Plus gives the same error.
This is the first time I have created any tables since installing Oracle on this machine and is my first attempt at dropping a table. I have not created any sequences, triggers or views based on these newly created tables.
Does anyone have any ideas?
CheersC:\Oracle>sqlplus hr@orcl
SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 4 18:58:55 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> CREATE TABLE table1 (column1 VARCHAR2(20 BYTE));
Table created.
SQL> select * from table1;
no rows selected
SQL> drop table table1;
drop table table1
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-20000: Cannot drop object
ORA-06512: at line 2
SQL>
Can I run a query to see if there are any triggeres on the table?
EDIT: Ok it looks like no triggers:
SQL> show user
USER is "SYS"
SQL> select * from DBA_TRIGGERS where table_name like '%table1%';
no rows selected
SQL> select * from USER_TRIGGERS where table_name like '%table1%';
no rows selected -
Cannot Drop table with lower case name
Hi,
One of my developer created a table through application in oracle 10g R2,
when I list tables
select * from tab;
the table name is shown in lower case or Initcap.
I cannot drop or manipulate that table.
How can I drop that table(s)?
Thanks & Regards,
Fahimuse the same case what your table has used and put double quotes on both sides for example if your table is lower case use like:
DROP TABLE "your_table";HTH
Ghulam Mustafa Butt -
Hi,
I've table BP:
CREATE TABLE BP (
BV_ID VARCHAR2 (32) DEFAULT NULL NOT NULL,
BP_ID VARCHAR2 (32) DEFAULT NULL NOT NULL,
CONSTRAINT BP_PK
PRIMARY KEY ( BV_ID, BP_ID )
BP has more 100 records:
Now I'd like to drop table BP:
drop table BP;
ORA-02449: unique/primary keys in table referenced by foreign keys
ALTER TABLE BP DISABLE CONSTRAINT BP_PK;
ORA-02297: cannot disable constraint (BP_PK) - dependencies exist
I tried disable all constraints with:
select 'alter table '||table_name||' disable constraints '||constraint_name||';'
from user_cons_columns
where column_name='BV_ID'
or column_name='BP_ID'
but when I try drop table BP;
ORA-02449: unique/primary keys in table referenced by foreign keys
also truncate table BP:
ORA-02266: unique/primary keys in table referenced by enabled foreign keys
How can I drop table BP and disable all referenced by enabled foreign keys on table BP?
Thanks!Or you could disable the foreign key constraint refering to primary key on the table and then drop the PK and then drop the table
G -
Tables That Show a Specific Field
Hello,
The same field is used in many transactions and tables, for example Purchase Groups and Validity Dates. Can anyone tell me if there is a transaction or table that would tell me what other transactions or tables use a particular field as part of the criteria?
Thank you in advance.
JudiPress F1 on the field you want to know..
and you will see a popup, there click the technical information
tab..
you will see table , field & data element...
Double click on Data element..
it will take you to Next screen..
there clcik the Where- used List( Three Arrows) CtrlShiftF3..
you will get the options for tables, transactions , Programs etc..
Tick what you want to see
for that particular field ...
and execute..
Thx
Raju
Edited by: Manohar Raju on Mar 12, 2008 12:53 PM -
Process Chains! is there a table that shows how long a PC works?
hi all
I've got many process chains in my system, i need their statistical data about how long they keep working once a day,
so, do you know a table that keeps the data i need?
regards,
MeteIf you run/receive the Early Watch report, it has some info on Process Chains, a sample of the info pasted below (apologies on some of the alignment). Also tran ST03 in Expert mode has some Process Chain info as well.
Main Chain #Total Subchains #Total Steps #Runs Total Runtime [min] Avg. Runtime [min] Med. Runtime [min] Avg. Proc.Type Runt. [min]
ZTV_D_LOAD 0 24 4 964 241 236 267
ZSR_D_ALL_META 18 113 4 740 185 169 111
ZFM_D_TRAN_METACHAIN 9 63 4 363 91 81 120
ZPM_D_METACHAIN 6 46 4 328 82 30 83
FI_DAILY_TRAN_METACHAIN 8 51 4 280 70 68 118
ZADM_R_RSRV 0 6 1 145 145 145 254
ZSRMD_WK_META 4 68 1 111 111 111 111
ZMD_D_METACHAIN 7 93 4 103 26 26 27
ZTC_D_METACHAIN 3 56 4 72 18 18 18
ZMM_D_META_2 2 17 4 58 15 8 14
ZADM_D_METACHAIN 2 16 4 52 13 14 13
ZFI_12PM_TRAN_XTRA 3 11 7 48 7 8 7
ZFI_3PM_TRAN_XTRA 6 20 7 45 7 7 7
ZARS_W_TRAN 0 9 1 40 40 40 39
ZFI_5PM_TRAN_XTRA_START 12 38 7 37 6 6 6
ZFI_D_TRAN_ZSLGS_01 0 3 4 34 9 7 9
ZMM_D_META_1 1 17 4 31 8 7 8
ZFI_X_ARAPGL_TRAN 6 40 1 30 30 30 47
ZFI_5AM_TRAN_XTRA_META 9 29 2 28 14 14 14
ZMD_W_TEXT_PROBLEMS 0 4 1 18 18 18 18 -
Workflow table that shows whether a TS is a background type
Hi,
does anyone know the name of the SAP table that tells you whether a workflow task is a foreground or background type?
Thanks,
JerryHi Rose,
Thank you. The SE11 table description for HRS1201 doesn't reflect what's in the table.
Regards,
Jerry -
Table that shows variants?
Dear GURUS
I need to know if there is a table that holds the variants which are used in reports.
Best Regards
SP> VARID
> VARIT
> VARI <- this is the table that holds variant values,
> but unfortunately they are stored in a cluster and
> hence not easy to read.
Could you please open a little bit. about the table VARI / i need to finds variant's values. how to read that table?
thanks -
Checkboxes in table that show value
Hello,
I have a series of questions that I want the user to be able to answer yes or no by selecting or deselecting a checkbox. I have this working fine now, except when it is loaded again all the checkboxes are unchecked, even though some of my values are 'true'.
I've tried setting the 'selected' property on the checkbox to a binding of the value in the table, as #{row.answer}, but that did nothing. I got it to work by using a #{row.answer == 'true'}, but then the checkbox became read only, which destroys the purpose.
Lastly, I tried having two separate checkboxes, one that was selected by default and one that was unselected, then I set the render property to #{row.answer == 'true'} or #{row.answer == false}, respectively. This works the first time I load the page but after I submit or change sections they all show as unselected again.
How can I get the checkboxes to reflect the current value?
Thanks,
-NHi Frank,
Thanks, that's exactly what I'm looking for.
I'm getting stuck though and I can't figure out why. I got the sample application to work very easily, but when I try to adapt it to my new project it doesn't show any value for StatusAsBoolean. I tried using the same table even and it remains blank.
Here's what I've done:
Created an entity object for the table.
Created a view object based on the entity and added another attribute (StatusAsBoolean) and uncheck everything, set as type Boolean and Always Updatable.
Created a new class (SettingsViewRowImpl.java) and used the same code as in the class in the sample file.
Created a table on the .jsp page.
One thing I've noticed is that when I make a view object, it creates a SettingsViewImpl.java file. I tried putting the code in there but that crashes the application.
I hope I'm not frustrating you, I've been trying really hard to get this to work and I'm sure it's a really obvious mistake.
Thanks -
Regarding table that shows tcode info
Hi all,
Is there a table in SAP which shows all the users who used a particular tcode. Can any one suggest me if there is one like that.
Let me know if any additional information is required.
Thanks in advance.
Ravi BoppanaHi Ravi,
I think ST03N tcode is used to check the history of transaction usage by the users. I think you will have logs upto 5 months.
You can also go to SUIM and check which users have access to a particular tcode.
Hope this helps.
Regards,
Kiran Kandepalli. -
There is an icon in the upper right corner that, when clicked on, drops down a list of open emails (i.e. a list of tabs). In the previous version of Thunderbird it would expand (vertically) to list all emails. However now it is a set vertical size and this is terrible and basically defeats the purpose. The purpose of that drop down was so that I did not have to scroll through all my open tabs to find an email. Now I have to do that again, as it is a set vertical size with arrows up and down to scroll through the list. How do I get the old functionality back, or solve my problem of somehow seeing a list of all open tabs? Thanks!
Is there a setting in about:config that controls the length of the alltabs list? I would look for such a thing, and change the setting if it is there. A setting of -1 should make it limitless.
-
Cannot drop table (error ORA-00054)
I am trying to drop a table but get an "ORA-00054 Resource busy and acquire with NOWAIT specified". Previously I had created this table and run a join which I cancelled because it was taking too long and obviously not doing what I wanted. Now I can't get rid of the table, even with sysdba privileges and re-starting the machine running the database.
Can anyone help?It looks like your table got locked. Do you see any locks in your database on this table? I also, suggest you to close or kill the session which was cancled due to long running join condition, as you said in your question.
-
I cannot delete emails that show up in my inbox. The email says this message has no content with a date of 12/31/00
I have this problem too.
The entire email says
((No Sender)
(No Subject)
This message has no content
Two are dated 12/31/69
and one came in today at 8:34pm (This last one has a "2" next to it which may indicate there are two of them?)
There is no trash icon on the screen and there doesn't appear to be ny way to delete them.
How do I delete them?
Maybe you are looking for
-
New Multi-OS/CPU aware virus broke through virtualbox. For a reason.FYI
FYI (all) Dear sir (RMS @ GNU), my apologies. That e-mail concerned the embedding (secretly) of personal information during the make process of certain gnu software but there's a new developent and I'm extremely mad : I have been looking for ways to
-
Internal DHCP Server on Wireless not working
Hi community, I'm facing some problems to setup a DHCP server on a WLC 2504. I'll try to resume my configuration: I have 2 networks: inside users (vlan 1) and external users (vlan) My controller uses the port 1 to connect to the switch, which has a t
-
Hi, I am doing XI to XI communication. Sender XI posts a message to receiver XI. but Receiver XI giving error that No receiver agreement found for sender to receiver. What could be the problem?
-
Difference between R/3 warranty and CRM warranty **
Hi colleges, can any body explain me what is the difference between SAP R/3 Warranty and SAP CRM Warranty. thanks in advance. suneel
-
Actual tables size is different than tablespace,datafile size
Hi, I had created 10 tables with minimum extents of 256M in the same tablespace. The total size was 2560M. After 3 months run, all tables sizes were not increased over 256M. But the datafile size for that tablespace was increased sharply to 20G. I sp