时间:2021-07-01 10:21:17 帮助过:18人阅读
---单个索引重置语句
alter index indexname rebuild;
---查询数据索引对象语句
select * from user_indexes;
------将数据库的索引(含有$字符的索引无法被重建)批量生成索引重置语句导出,批量执行
select ‘alter index ‘||index_name||‘ rebuild;‘ as sql from user_indexes where index_name not in(select index_name from user_indexes where index_name like ‘%$%‘);
Oracle索引批量重置笔记
标签:select 重置 exe uil rac nbsp where dex 导出