My Oracle Diary
Search This Blog
Tuesday, December 20, 2011
recreate indexes
select 'drop index ' index_name ';' from all_indexes where table_owner='ownername'
/
SELECT 'alter index ' index_name ' rebuild ; ' FROM all_indexes where table_name='tablename' or table_owner='ownername'
/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment