请告诉我,我们可以删除Oracle中的本地索引吗?
我已经为我的表创建了6个本地索引&1个全局索引。
谢谢你,斯雷尼瓦斯
发布于 2014-09-05 15:13:24
您可以使用drop index
create table tab1(
id number
)
partition by hash(id)
partitions 8
;
create index loc_tab1_id_idx on tab1(id) local
select count(*) cnt
from user_indexes
where lower(index_name) = 'loc_tab1_id_idx'
CNT
---
1
drop index loc_tab1_id_idx ;
select count(*) cnt
from user_indexes
where lower(index_name) = 'loc_tab1_id_idx'
CNT
---
0https://stackoverflow.com/questions/25688640
复制相似问题