檢查是否存在truncate或者rebuild的索引
select owner||'.'||Object_name||'.'||subobject_name
from dba_objects
where object_iddata_object_id
and object_type like 'INDEX%'
order by owner,object_name,subobject_name;
如果存在這些索引,删除索引并且重新建立這些索引。
檢查是否存在truncate或者rebuild的索引
select owner||'.'||Object_name||'.'||subobject_name
from dba_objects
where object_iddata_object_id
and object_type like 'INDEX%'
order by owner,object_name,subobject_name;
如果存在這些索引,删除索引并且重新建立這些索引。