Ora-00604 while dropping user. [message #425220] |
Thu, 08 October 2009 01:57  |
ali_sakar
Messages: 22 Registered: February 2009 Location: Mumbai
|
Junior Member |

|
|
Dear All,
I want to drop a user but the drop command is failing with Ora-00604.
SQL> drop user tlel cascade;
drop user tlel cascade
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-12083: must use DROP MATERIALIZED VIEW to drop "TLEL"."EMP_DETAILS"
I created a script and dropped all the objects in that user. But still its showing me this error. I have a Materialized View in that user which is giving me issues. Kindly help its urgent.
Ali.
|
|
|
|
|
|
|
|
|
Re: Ora-00604 while dropping user. [message #425256 is a reply to message #425254] |
Thu, 08 October 2009 05:21   |
JRowbottom
Messages: 5933 Registered: June 2006 Location: Sunny North Yorkshire, ho...
|
Senior Member |
|
|
Weird - it looks like the MVIEW has gone for that user, but has left the table behind.
Connect as the affected user, run this and post the results:DROP TABLE emp_details;
DROP MATERIALIZED VIEW emp_details;
|
|
|
|
|
|
|