This SQL query selects the owner, object type, object name and status from the DBA_OBJECTS view and filters for any objects with a status of 'INVALID', ordering the results by owner, object type and name to identify objects that may require validation or recompilation.
This SQL query selects the owner, object type, object name and status from the DBA_OBJECTS view and filters for any objects with a status of 'INVALID', ordering the results by owner, object type and name to identify objects that may require validation or recompilation.
This SQL query selects the owner, object type, object name and status from the DBA_OBJECTS view and filters for any objects with a status of 'INVALID', ordering the results by owner, object type and name to identify objects that may require validation or recompilation.
======================= SELECT owner, object_type, object_name, status FROM dba_objects WHERE status = 'INVALID' ORDER BY owner, object_type, object_name;