Last updated on JULY 05, 2017
Applies to:PL/SQL - Version 10.1.0.2 and later
Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 8th Apr 2016***
How to recompile all invalid database objects from DBA_OBJECTS.
NOTE: This SQL script selects all INVALID database objects from DBA_OBJECTS and attempts to compile them. It then selects all remaining INVALID database objects to see how many objects did not compile successfully. Running the script multiple times may help compile any remaining invalid objects from previous runs.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms