Dropping Table: ORA-00054
When going to drop a table in a particular schema, I receive the following error:
ORA-00054: resource busy and acquire with NOWAIT specified.
My command:
drop table schema1.table1;
I've tried the above drop command several times. No matter what, I keep on getting the same error. How can I successfully drop this table? I also tried logging out & back into my toad session.
Looks like you were having quite some trouble with your toad connections. This one and the other insert problem.
Try Oracle SQL Developer and/or SQLPLUS
Not only there are native Oracle products, but also they are free to use with your database.
http://www.oracle.com/technology/products/database/sql_developer/index.html
Similar Messages
-
Drop Table :ORA-00604: error occurred at recursive SQL level 1
Hi,
When I am trying to drop a table, getting the following error:
SQL> drop table drp_test;
drop table drp_test
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
This is applicable even when I am trying to drop a table as sys user. I am not able to drop any table within this database. Previously I was able to carry this operation successfully.
Database Version: 10.2.0.1.0
OS: Linux
Thanks in advance for your valuable time.
Regards,
JoyHi Anurag,
I was unable to access net and hence is the delay in reply. Kindly suggest me regarding the level of trace to be generated.
Regards,
Joy -
Problem with truncate table in procedure ora -00054
hi do anybody know where is mistake ???
the procedure has problem with truncate table
ora - 00054: resource busy and acquire with NOWAIT specified
ora - 06512 at "POVAPSYS.HMAN_P_REFRESH", line 6
ora - 06512 at "POVAPSYS.POVAPSYS", line 6
ora - 06512 at line 1
this is my procedure....
AS
BEGIN
execute immediate 'TRUNCATE TABLE hman_t_max';
INSERT INTO hman_t_max SELECT * FROM hman_v_max;
COMMIT;
END;2.MAKE SURE THAT OTHER THAN YOU ANYBODY IS TRYING TO
COMPILE AND RUN THE PROCEDUREShould he make sure that anybody is running the procedure?
3.MAKE SURE THAT ANY PARALLEL QUERY IS RUNNING IN THE
SERVER SIDE,THATS KEEPS THE RESOURCE BUSYShould he make sure any parallel query is running in the server side to keep the resource busy?
Gita,
I COULDN'T RESIST HAVING ONE SUGGESTION FOR YOU. Please look at the impact of your English in the reply before posting. Check if that sends reverse message!
Cheers
Sarma. -
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.
-
Can't drop text index (ORA-00054: resource busy) - causes?
Thanks, you were right! It works now, but I have another issue. I only added about 75 MB of PDFs (20 files) into my table, and indexed it. Indexing took about 4 minutes. But now, whenever I try to drop the index, I get this error:
ORA-00054: resource busy and acquire with NOWAIT specified
I tried waiting an hour, and it still gives me the error - it really shouldn't be doing anything. Would a memory or storage space issue cause this? I'd appreciate any help you could give. Thanks.Try drop index <name> force
-
How to solve ora-00054 error while drop the constraint
i am trying to drop the constraint for the table but it will give the below error.
ora-00054 resource busy and acquire.
can you please tell me solve this problem. but in my pc i am not using that table at any where in the system.
ALTER TABLE EIIS_JBWSTOCK
DROP CONSTRAINT CHK_TRAN_JOB_TYPE;
this is my code for alter table constraint.
thanksYou may find <sid, serial#> and kill the session.
SELECT c.owner,
c.object_name,
c.object_type,
b.SID,
b.serial#,
b.status,
b.osuser,
b.machine
FROM v$locked_object a, v$session b, dba_objects c
WHERE b.SID = a.session_id AND a.object_id = c.object_id; --You may add extra condition for your table.
ALTER SYSTEM KILL SESSION '<sid, serial#>' -
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 -
ORA-00054 error when loading Oracle table using Data Services
Hello,
we are facing ORA-00054 error when loading Oracle table using BO Data services
(Oracle 10g database, BODS Xi 3.2 SP3)
Test Job performs
1- truncate table
2- load table (tested in standard and bulk load modes)
Scenario when issue happens is:
1- Run loading Job
2- Job end in error for any Oracle data base error
3- When re-running the same Job, Job fails with following error
ORA-00054: resource busy and acquire with NOWAIT specified
It seems after first failure, Oracle session for loading the table stays active and locks the table.
To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
Thanks in advance
Paul-Mariethe ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
Or
AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
This Problem Occurs when we select The Bulkloading Option in orclae We also faced the same issue,Our admin has Killed the session. Then everything alright. -
Drop Table, User, Drop * ORA-00604: error occurred at recursive SQL level 1
Greetingss,
Installed 11.2.0.1 several months ago and upgraded to 11.2.0.2 a month ago without issues. However prior to upgrade I was able to drop schema objects. Since upgrade I do not recall specifically dropping any objects. However, now trying to drop a few objects and discovered all drops attempted are failing, i.e. tables, packages, users, function, views, directories, etc. Create or Replace and Alter all appear to still work.
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
5 rows selected.
SQL> connect sys as sysdba
Connected.
SQL> create user drop_test identified by drop_test account unlock;
User created.
SQL> alter user drop_test default tablespace users;
User altered.
SQL> grant connect, resource, dba to drop_test;
Grant succeeded.
SQL> connect drop_test/drop_test
Connected.
SQL> create table a (a number);
Table created.
SQL> create view av as select * from a;
View created.
SQL> create function ac return number as
2 result number;
3 begin
4 select count (*) into result from a;
5 return result;
6 end;
7 /
Function created.
SQL> insert into a values (1);
1 row created.
SQL> commit;
Commit complete.
SQL> select ac from dual;
AC
1
1 row selected.
SQL> select * from av;
Enter
A
1
1 row selected.
SQL> drop function ac;
drop function ac
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop view av;
drop view av
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop table a;
drop table a
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> connect sys as sysdba
Connected.
SQL> drop function drop_test.ac;
drop function drop_test.ac
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop view drop_test.av;
drop view drop_test.av
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop table drop_test.a;
drop table drop_test.a
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop user drop_test;
drop user drop_test
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> drop user drop_test cascade;
drop user drop_test cascade
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 3, column 83:
PLS-00302: component 'DBMS_XDBZ' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
SQL> get /x92
1 select owner, object_name, object_type, status
2 from dba_objects
3* where object_name = 'DBMS_XDBZ'
SQL> /
OWNER OBJECT_NAME OBJECT_TYPE STATUS
PUBLIC DBMS_XDBZ SYNONYM VALID
XDB DBMS_XDBZ PACKAGE VALID
XDB DBMS_XDBZ PACKAGE BODY VALID
3 rows selected.
SQL> @invalid
no rows selected
SQL> l
1 select
2 owner c1,
3 object_type c3,
4 object_name c2
5 from
6 dba_objects
7 where
8 status != 'VALID'
9 order by
10 owner,
11 object_type
12*
Advanced appreciation for any assistence provided.
best RegardsGreetings,
Yes I do use XDB and Application Express. I can also create and delete resources in XDB repository without issue.
SQL> select schema_url from dba_xml_schemas;
Enter
SCHEMA_URL
http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/dav.xsd
http://xmlns.oracle.com/xdb/XDBResConfig.xsd
http://xmlns.oracle.com/xdb/XDBStandard.xsd
http://xmlns.oracle.com/xdb/log/xdblog.xsd
http://xmlns.oracle.com/xdb/log/ftplog.xsd
http://xmlns.oracle.com/xdb/log/httplog.xsd
http://www.w3.org/2001/xml.xsd
http://xmlns.oracle.com/xdb/xmltr.xsd
http://xmlns.oracle.com/xdb/XDBFolderListing.xsd
http://www.w3.org/1999/xlink.xsd
http://www.w3.org/1999/csx.xlink.xsd
http://www.w3.org/2001/XInclude.xsd
http://www.w3.org/2001/csx.XInclude.xsd
http://xmlns.oracle.com/xdb/stats.xsd
http://xmlns.oracle.com/xs/roleset.xsd
http://xmlns.oracle.com/xs/securityclass.xsd
http://xmlns.oracle.com/rlmgr/rclsprop.xsd
http://xmlns.oracle.com/rlmgr/rulecond.xsd
http://xmlns.oracle.com/ord/meta/dicomImage
http://xmlns.oracle.com/xdb/xdbconfig.xsd
http://xmlns.oracle.com/streams/schemas/lcr/streamslcr.xsd
http://xmlns.oracle.com/xs/dataSecurity.xsd
http://xmlns.oracle.com/xs/aclids.xsd
http://xmlns.oracle.com/xs/principal.xsd
http://xmlns.oracle.com/xdb/XDBSchema.xsd
http://xmlns.oracle.com/xdb/XDBResource.xsd
http://www.w3.org/2001/csx.xml.xsd
http://xmlns.oracle.com/xdb/csx.xmltr.xsd
http://xmlns.oracle.com/ord/dicom/datatype_1_0
http://xmlns.oracle.com/ord/dicom/orddicom_1_0
http://xmlns.oracle.com/ord/dicom/mddatatype_1_0
http://xmlns.oracle.com/ord/meta/iptc
http://xmlns.oracle.com/ord/dicom/standardDictionary_1_0
http://xmlns.oracle.com/ord/meta/xmp
http://xmlns.oracle.com/ord/dicom/anonymity_1_0
http://xmlns.oracle.com/ord/dicom/constraint_1_0
http://xmlns.oracle.com/ord/dicom/metadata_1_0
http://xmlns.oracle.com/ord/dicom/mapping_1_0
http://xmlns.oracle.com/ord/dicom/preference_1_0
http://xmlns.oracle.com/ord/dicom/privateDictionary_1_0
http://xmlns.oracle.com/ord/meta/exif
http://xmlns.oracle.com/ord/dicom/rpdatatype_1_0
http://xmlns.oracle.com/ord/meta/ordimage
http://www.opengis.net/gml/geometry.xsd
http://www.opengis.net/gml/feature.xsd
demo_customer_t.xsd
http://xmlns.oracle.com/spatial/georaster/georaster.xsd
http://localhost:8080/source/schemas/poSource/xsd/purchaseOrder.xsd
http://xmlns.oracle.com/ord/dicom/UIDdefinition_1_0
http://xmlns.oracle.com/ord/dicom/attributeTag_1_0
http://xmlns.oracle.com/ord/dicom/manifest_1_0
http://www.w3.org/1999/xlink/xlinks.xsd
53 rows selected.
SQL>
I will have to review the notes provided via the links. I hope that there is a solution available that is in alternative to re-installing XDB.
Best Regards
Edited by: RealDitto on Aug 24, 2011 10:40 AM -
JBO-26030 and ORA-00054 error when updating a certain row
I have a page that saves data when you leave a cell in a table. Everything seems to work fine, but when you get to some cells the JBO-26030 error pops up and then no matter what you do you can't ever save anything on that cell. You can close everything down and reopen and change other cells, but when you go back to that cell the error message always pops up. I think it's mainly happening on the cell that is a drop down with 3 values (P, F, and NT). P is the value and key for the drop down.
Then when I go into the database through Toad I try to change the value just so see what happens and that's when I get the ORA-00054: resource busy and acquire with NOWAIT specified error. This again only happens when editing that row.
Any help is appreciated...Thanks!
Edited by: user10942416 on Aug 6, 2009 6:16 AMThis error is caused when the block property 'DML returning values' equals YES. This property was introduced as of forms 6. What does it do ? As per the on-line help of Forms, "A database update or insert action may initiate server-side triggers that cause alterations or additional changes in the data. In Release 6, when using an Oracle8 database server, Forms uses the DML Returning clause to immediately bring back any such changes. When this property is set to Yes, Forms will automatically update the client-side version of the data, and the user will not need to re-query the database to obtain the changed values". When this property is switched to yes the generated insert/update statement will contain the 'returning clause' and this clause is causing the error.
As far as I have tested, the only way at present, to get rid of this error is to set 'DML returing values' to NO. So, not to use this functionality.
See also:
http://support.oracle.co.uk/metalink/plsql/ml2_documents.showFrameDocument?p_database_id=NOT&p_id=143395.1
Please respond if this solution works for you.
Greets,
Guido Zeelen -
Why ?
SQL> drop table SYSADM.TMP_FATOR cascade constraints;
drop table SYSADM.TMP_FATOR cascade constraints
ORA-00054: resource busy and acquire with NOWAIT specifiedcheck the active sessions and kill them all except for the one you are logged into ...and then try drop the table
--Chaitanya -
SQL> drop table worker_hourly
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
create table worker_hourly
( wrk_id number(3),
wrk_perhr number(5,2) NOT NULL,
wrk_otrate number(3,2),
primary key (wrk_id),
constraint workerexist foreign key (wrk_id)
references worker_super(wrk_id),
constraint validot check (wrk_otrate < 2.5))
insert into worker_hourly values (333,19.75,NULL)
insert into worker_hourly values (444,15.45,1.5)
/im trying to drop this table and start it up again but its showing up that error, how can i fix it, i've never encountered it beforeEither you're not giving the full picture here, or you missed:
(issued from the session that has an outstanding transaction on your table) So:
-Are you capable of indentifying sessions that lock 'your' table? (Any tool available?)
-Do you have a DBA around you can ask?
-Database version?
-acces to datadictionary views like V$LOCK amnd V$LOCKED_OBJECT
-is this a development or a production problem? (I think it's a development problem)
any other suggestions???Give the full picture here, instead of letting us 'fire guesses at you'.
That's like walking down 'Cumbersome Avenue'. -
Hello,
I'm currently tring to drop a table using a process trigered by a button click
Icreated my button and also a "PL/SQL process" and I put
DROP TABLE &P0_TABLE_NAME. CASCADE CONSTRAINTS;
inside field "source" with ticking the checkbox "Do not validate PL/SQL code (parse PL/SQL code at runtime only)."
But when a click on the button I have the following error
ORA-06550: line 1, column 7: PLS-00103: Encountered the symbol "DROP" when expecting one of the following: begin case declare exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-identifier> <a bind variable> << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe
Error Error while dropping table
OK
Do anyone have a clue about this ?
Debug trace is
A C C E P T: Request="Purge"
0.00: Metadata: Fetch application definition and shortcuts
0.00: alter session set nls_language="AMERICAN"
0.00: alter session set nls_territory="AMERICA"
0.00: ...NLS: Set Decimal separator="."
0.00: ...NLS: Set NLS Group separator=","
0.00: ...NLS: Set date format="DD-MON-RR"
0.00: ...Setting session time_zone to +02:00
0.00: NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en-us
0.00: Fetch session state from database
0.01: ...Check session 2289784661666743 owner
0.01: ...Check for session expiration:
0.01: ...Metadata: Fetch Page, Computation, Process, and Branch
0.01: Session: Fetch session header information
0.01: ...Metadata: Fetch page attributes for application 121, page 2
0.01: ...Validate item page affinity.
0.03: ...Validate hidden_protected items.
0.03: ...Check authorization security schemes
0.03: Session State: Save form items and p_arg_values
0.03: ...Session State: Save "P0_TABLE_NAME" - saving same value: "STATPHI_595730051"
0.04: ...Session State: Save "P2_TABLE_NAME" - saving same value: "STATPHI_595730051"
0.04: ...Session State: Save "P2_TYPE" - saving same value: "2"
0.04: ...Session State: Save "P2_CALENDAR" - saving same value: "PA"
0.04: ...Session State: Save "P2_FILE_NAME" - saving same value: ""
0.04: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.04: Branch point: BEFORE_COMPUTATION
0.04: Computation point: AFTER_SUBMIT
0.04: Tabs: Perform Branching for Tab Requests
0.04: Branch point: BEFORE_VALIDATION
0.04: Perform validations:
0.04: Branch point: BEFORE_PROCESSING
0.04: Processing point: AFTER_SUBMIT
0.04: Item button "P2_PURGE_TABLE" pressed process.
0.04: ...Process "DROP TABLE": PLSQL (AFTER_SUBMIT) DROP TABLE &P0_TABLE_NAME. CASCADE CONSTRAINTS;
0.06: Encountered unhandled exception in process type PLSQL
0.06: Show ERROR page...
0.06: Performing rollback...
----Hi user631592 ;-)
You can't used directly a DDL statment.
But you can use an EXECUTE IMMEDIATE in your process.
SO
BEGIN
EXECUTE IMMEDIATE ' DROP TABLE STATPHI_595730051';
END;
Regards -
Errors: ORA-00054 & ORA-01452 while running DAC Full Load
Hi Friends,
Previously, I ran full load...it went well. And, I did some sample reports also in BI APPS 7.9.6.2
Now, I modified few parameters as per the Business and I try to run Full Load again...But I struck with few similar errors. I cleared couple of DB Errors.
Please, help me out to solve the below errors.
1. ANOMALY INFO::: Error while executing : TRUNCATE TABLE:W_SALES_BOOKING_LINE_F
MESSAGE:::com.siebel.etl.database.IllegalSQLQueryException: DataWarehouse:TRUNCATE TABLE W_SALES_BOOKING_LINE_F
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
--I checked W_SALES_BOOKING_LINE_F, it contain s data.
2. ANOMALY INFO::: Error while executing : CREATE INDEX:W_GL_REVN_F:W_GL_REVN_F_U1
MESSAGE:::java.lang.Exception: Error while execution : CREATE UNIQUE INDEX
W_GL_REVN_F_U1
ON
W_GL_REVN_F
INTEGRATION_ID ASC
,DATASOURCE_NUM_ID ASC
NOLOGGING
with error DataWarehouse:CREATE UNIQUE INDEX
W_GL_REVN_F_U1
ON
W_GL_REVN_F
INTEGRATION_ID ASC
,DATASOURCE_NUM_ID ASC
NOLOGGING
ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
-- Yes, I found duplicate values in this table W_GL_REVN_F. But, how can I rectify it. I did some engineering, but failed.
please tell me the steps to acheive....
Thanks in advance..
StoneHi, Please see the answers (in bold) below.
1. ANOMALY INFO::: Error while executing : TRUNCATE TABLE:W_SALES_BOOKING_LINE_F
MESSAGE:::com.siebel.etl.database.IllegalSQLQueryException: DataWarehouse:TRUNCATE TABLE W_SALES_BOOKING_LINE_F
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
--I checked W_SALES_BOOKING_LINE_F, it contain s data.
Just restart the load, It seems like your DB processes are busy and the table still has a lock on it which means something is not yet Commited/Rolled Back.
If this issue repeats you can mail your DBA and ask him to look in to the issue
2. ANOMALY INFO::: Error while executing : CREATE INDEX:W_GL_REVN_F:W_GL_REVN_F_U1
MESSAGE:::java.lang.Exception: Error while execution : CREATE UNIQUE INDEX
W_GL_REVN_F_U1
ON
W_GL_REVN_F
INTEGRATION_ID ASC
,DATASOURCE_NUM_ID ASC
NOLOGGING
with error DataWarehouse:CREATE UNIQUE INDEX
W_GL_REVN_F_U1
ON
W_GL_REVN_F
INTEGRATION_ID ASC
,DATASOURCE_NUM_ID ASC
NOLOGGING
ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found
-- Yes, I found duplicate values in this table W_GL_REVN_F. But, how can I rectify it. I did some engineering, but failed.
please tell me the steps to achieve....
please execute this sql and get the duplicate values. If the count is less you can delete the records based on ROW_WID
How many duplicates do you have in total?
*1. SELECT INTEGRATION_ID,DATASOURCE_NUM_ID,count(*) FROM W_GL_REVN_F*
GROUP BY INTEGRATION_ID, DATASOURCE_NUM_ID
HAVING COUNT()>1*
*2. SELECT ROW_WID,DATASOURCE_NUM_ID,INTEGRATION_ID FROM W_GL_REVN_F*
WHERE INTEGRATION_ID= (from 1st query)
*3. DELETE from W_GL_REVN_F where ROW_WID=( from 2nd query)*
Hope this helps !! -
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
Maybe you are looking for
-
Mac mini with Apple Mini Display to VGA adaptor
Hello, I have just purchased a new i5 mac mini, and have started to use it with an HDMI TV. This is great, but I really want to go back to using just my VGA monitor, which is an LGFlatron W2243S. So, today, with the HDMI plugged in, I put a Apple Min
-
When to expect July's sales reports?
We're August 1st and I'm wondering when will the sales reports be available? Now that we have daily download statistics, I hope to see how well I did for the month of July!
-
Is there a way to organize SMS, MMS and BBM into one folder, and several email accounts, Facebook and Twitter into another?
-
Stored Procedure requires compilation before every execute....
I have one simple SP in Oracle 8. It gets complied very nicely. But after i execute that SP, its defination from the database is lost. I again have to compile and execute it. This means that whenever i have to execute this SP i have to first compile
-
System overload related to disk activity peaks
I get frequent system overload messages and they are starting to get irritating. I have read all the threads and followed all the instructions, but to no avail. I installed Activity Monitor and the overloads only occur when there are peaks in disk ac