Cannot drop table-Urgent [message #51723] |
Mon, 10 June 2002 20:01 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
manish mendiratta
Messages: 110 Registered: May 2002
|
Senior Member |
|
|
Hi,
I have a user named us01 who has connect,resource and DBA roles. Problem i am facing is that this user can create a table but cannot drop it. The error its giving is ORA-0604. However, if i connect thru system/manager i am able to drop the table. Pls help.
Thanks in advance
ManishM.
|
|
|
|
Re: Cannot drop table-Other errors [message #51729 is a reply to message #51723] |
Mon, 10 June 2002 22:34 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
manish mendiratta
Messages: 110 Registered: May 2002
|
Senior Member |
|
|
Hi Maaher,
Thanks for your reply. The errors are given below.
regds
ManishM.
drop table a
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-21000: error number argument to raise_application_error of -2040505 is out of range
ORA-06512: at line 2
|
|
|
Re: Cannot drop table-Other errors [message #51734 is a reply to message #51723] |
Tue, 11 June 2002 03:11 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/43055.jpg) |
Maaher
Messages: 7065 Registered: December 2001
|
Senior Member |
|
|
Check Metalink, there are several issues concerning recursive SQL and DROP.
One of the reasons could be that the maximum open cursors has been exceeded.
Check dependency$ for this object_id:
select * from dependency$ where D_OBJ# = your_id;
AND
select count(*) from dependency$ where p_OBJ# = your_id;
Then check all its dependencies within this view as d_obj#.
Make sure the user has the privilege to drop the table.
If that doesn't help, I suggest you call Oracle Support.
HTH,
MHE
|
|
|