1. 程式人生 > >ORA-00604: 遞迴 SQL 級別 1 出現錯誤

ORA-00604: 遞迴 SQL 級別 1 出現錯誤

SQL> drop user sde cascade;
drop user sde cascade
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-04045: errors during recompilation/revalidation of
SDE.DB_EV_DROP_ST_METADATA
ORA-01031: insufficient privileges
 

ORA-00604: 遞迴 SQL 級別 1 出現錯誤

ORA-04045: 在重新編譯/重新驗證 SDE.DB_EV_DROP_ST_METADATA 時出錯

ORA-01031: 許可權不足

解決方法:刪除觸發器

SQL> drop trigger SDE.DB_EV_DROP_ST_METADATA;

Trigger dropped.

SQL> drop user sde cascade;

User dropped.