1.问题现象
SQL> drop tablespace TS_LOB including contents and datafiles ;
drop tablespace TS_LOB including contents and datafiles
*
ERROR at line 1:
ORA-22868: table with LOBs contains segments in different tablespaces
2.解决过程
SQL> select owner,table_name,tablespace_name from dba_lobs where tablespace_name='TS_LOB';
OWNER TABLE_NAME TABLESPACE_NAME
--------------- ------------------------------ --------------------
YXYUP BIN$VmHA+aMlWWjgQKjABDwcBg==$0 TS_LOB
SQL> purge dba_recyclebin;
DBA Recyclebin purged.
SQL> select owner,table_name,tablespace_name from dba_lobs where tablespace_name='TS_LOB';
no rows selected
SQL> drop tablespace TS_LOB including contents and datafiles ;
Tablespace dropped.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7364032/viewspace-442424/ ,如需转载,请注明出处,否则将追究法律责任。