drop user error ORA-00604 ORA-01418
2014-11-04 16:17
411 查看
Evironment
Project: ZenniDate: 2013-05-18
OS: Centos Linux
Oracle Version: Oracle Database 11g Release 11.2.0.1.0 - Production
Key Words
drop user ORA-00604 ORA-01418Symptoms
When drop user use the follow sql the server reject the request.
"drop user username cascade"
ORA-00604: error occurred at recursive SQL level 1
ORA-01418: specified index does not exist
Cause
The metadata is error. Some indexes exists, but the tables which the indexes depend on are not exists. So we can't drop the index by nomal sql " Drop index index_name".We named these indexes "problem index".
Solution
Modify the metadata to delete the "problem index" by the follow step:select user_id from dba_users where username='user"
select * from obj$ where owner#='user_id';
delete obj$ where owner#='user_id';
commit;
restart the database.
转自:http://blog.csdn.net/yfleng2002/article/details/8978880
相关文章推荐
- drop user error ORA-00604 ORA-01418
- Drop user cascade failed ORA-00604 ORA-02429 处理一例
- ERROR:ORA-01940: cannot drop a user that is currently connected
- ORA-06576 error during Drop User (文档 ID 1498610.1)
- DROP USER cascade on source db ,deadlock + ora 6508
- ORA-01940: cannot drop a user that is currently connected 的解决办法
- ORA-01940:cannot drop a user that is currently connected
- ORA-01940: cannot drop a user that is currently co
- ORA-00604 error occurred at recursive SQL level
- ORA-01940: cannot drop a user that is currently connected 问题解析
- 遇到ORA-01940: cannot drop a user that is currently
- ORA-00604: error occurred at recursive SQL level 1 ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM
- Linux中删除Oracle用户 提示 ORA-01940: cannot drop a user that is currently connected
- oracle drop用户cascade 无法顺利删除问题处理-ORA-00604和ORA-00942错误
- java.sql.SQLSyntaxErrorException: ORA-01747: user.table.column, table.column
- oracle(创建/删除/修改用户,创建/删除/修改表空间,授权用户,删除所有表,给用户指定表空间,ORA-01940: cannot drop a user that is currently c)
- ORA-01940: cannot drop a user that is currently connected
- ORA-00604: error occurred at recursive SQL level 1
- ORA-01940: cannot drop a user that is currently connected
- ORA-01940: cannot drop a user that is currently connected