ORA-00604 ORA-21700錯誤處理

passion_of_data發表於2014-06-12
今天刪除SDE使用者(GIS地圖資料使用者)報ORA-00604 ORA-21700,詳細處理步驟如下:


SQL>  drop user SDE cascade;


ERROR  at line 1:
ORA-00604:error occurred at recursive SQL level 2
ORA-21700:object does not exist or is marked for delete
       
       


SQL>  select user_id,username from dba_users where username  = 'SDE';


   USER_ID USERNAME
---------- ------------------------------
       123 SDE
       
SQL> select  o.name,a.* from association$ a,obj$ o where a.obj#=o.obj# and o.OWNER# = 123;


NAME                                 OBJ#   PROPERTY    INTCOL# STATSTYPE# DEFAULT_SELECTIVITY DEFAULT_CPU_COST DEFAULT_IO_COST DEFAULT_NET_COST INTERFACE_VERSION#     SPARE2
------------------------------ ---------- ---------- ---------- ---------- ------------------- ---------------- --------------- ---------------- ------------------ ----------
ST_GEOMETRY                        114471          2                114478                                                                                        2          0




SQL> delete from association$ where obj#=114471;


1 row deleted.


SQL>  drop user SDE cascade;


User dropped.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25964700/viewspace-1181126/,如需轉載,請註明出處,否則將追究法律責任。

相關文章