Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need Index drop and creation script for all indexes in oracle schema

User_MH06LApr 25 2018 — edited Apr 26 2018

Hi,

I Need a script which will drop and recreate all indexes in my oracle schema and also the script will exclude primary key? I don't want to drop my primary key indexes.

Order of the script will be first drop the index and next it will be create the same drop index, Not all drop commands first and create commands next.

Can anyone help me on this?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 24 2018
Added on Apr 25 2018
7 comments
1,062 views