-- -----------------------------------------------------------------------------------
-- Author : Pavan Yennampelli
-- Description : Lists all invalid objects in the database.
-- Call Syntax : @invalid_objects
-- Requirements : Access to the DBA views.
-- -----------------------------------------------------------------------------------
COLUMN object_name FORMAT A30
SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
ORDER BY owner, object_type, object_name;
-- Author : Pavan Yennampelli
-- Description : Lists all invalid objects in the database.
-- Call Syntax : @invalid_objects
-- Requirements : Access to the DBA views.
-- -----------------------------------------------------------------------------------
COLUMN object_name FORMAT A30
SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
ORDER BY owner, object_type, object_name;