首页 > 代码库 > ORA-29857: 表空间中存在域索引和/或次级对象

ORA-29857: 表空间中存在域索引和/或次级对象

解决办法如下:

select owner,segment_name, segment_type from dba_segments where tablespace_name = ‘EXAMPLE‘; 

select distinct owner,segment_name, segment_type from dba_extents where tablespace_name=‘EXAMPLE‘; 

查看哪些objects存储在EXAMPLE表空间,将其drop或者move,然后再drop tablespace 

drop tablespace tablespace_name including contents; 命令删除表空间