Retried after purging and making the tablespace offline also
SQL> purge dba_recyclebin;
DBA Recyclebin purged.
SQL> alter tablespace TEST_TBS offline;
Tablespace altered.
SQL> drop tablespace TEST_TBS including contents and datafiles;
drop tablespace TEST_TBS including contents and datafiles
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-38301: can not perform DDL/DML over objects in Recycle Bin
Connect as that particular schema 'owner' and then perform purge and then drop the tablespace
If this does not solve the issue,
Then Quick Workaround is to disable the Recycle Bin and then drop the tablespace and re-enable the recycle bin
SQL> conn / as sysdba
1) sqlplus / as sysdba
2) ALTER SYSTEM SET recyclebin = OFF DEFERRED;
3) disconnect and exit sqlplus
4) sqlplus / as sysdba
5) drop tablespace........
6) sqlplus / as sysdba
7) ALTER SYSTEM SET recyclebin = ON DEFERRED; or ALTER SYSTEM SET recyclebin = ON;
If all the above options of dba_recyclebin does not help then contact Oracle Support and mention this Note
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/20747382/viewspace-2146026/ ,如需转载,请注明出处,否则将追究法律责任。