Rick Brown
Member
I had a strange experience with the PL/SQL Developer feature Tools / Compile Invalid Objects. After a mass update of packages, I used the feature to recompile invalids. After some work I reduced the invalids to 11. But another developer ran a SQL statement through SQL*Plus, and found 1197 invalids! His simple statement was:
A fundamental table change had not been made, which led to an invalid base package, which caused all the other invalids. The 1197 number was correct, not the 11 reported by Compile Invalid Objects.
My question is what might cause the discrepancy? In particular, what is the SQL statement used to populate the Compile Invalid Objects screen?
Many thanks for the support, and the wonderful product. Obviously there are some folks around here who insist on using the "old" tools like SQL*Plus (and with good reason in some cases!), but PL/SQL Developer's GUI and step-thru debugging are a huge productivity enhancer.
Cheers.
Code:
select object_name, object_type, status
from user_objects
where status = 'INVALID'
and object_type like 'PACKAGE%'
My question is what might cause the discrepancy? In particular, what is the SQL statement used to populate the Compile Invalid Objects screen?
Many thanks for the support, and the wonderful product. Obviously there are some folks around here who insist on using the "old" tools like SQL*Plus (and with good reason in some cases!), but PL/SQL Developer's GUI and step-thru debugging are a huge productivity enhancer.
Cheers.