Fixing 'unstable indexes' on Oracle 10g database servers
I work with an application that can update the database schema of on Oracle database. Sometimes when the application updates the database with a DDL script I will get an unstable indexes error.
Rebuilding indexes in Oracle can be done by using a PL-SQL script like the following;
