-
script-move a list of indexes - particular set of tables in a tablespace
Dear All,
the script that I have given below gives me a list of indexes that are there for the corresponding tables in the tablespace P1ECP1_LT96K_D. Now having got the list of indexes I would like to move the indexes to another tablespace. Can anyone modify this script so that I will be getting the script for moving the indexes to a seperate tablespace as well.
Regards,
K.Diwakar
select
'select index_name from dba_indexes where table_name=''' ||table_name|| ''';'
from dba_tables where tablespace_name='P1ECP1_LT96K_D' and owner='DIP_S01' ;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|