2026-03-12 20:23:15
This commit is contained in:
18
timhall/monitoring/invalid_objects.sql
Normal file
18
timhall/monitoring/invalid_objects.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/monitoring/invalid_objects.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Lists all invalid objects in the database.
|
||||
-- Call Syntax : @invalid_objects
|
||||
-- Requirements : Access to the DBA views.
|
||||
-- Last Modified: 18/12/2005
|
||||
-- -----------------------------------------------------------------------------------
|
||||
COLUMN owner FORMAT A30
|
||||
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;
|
||||
Reference in New Issue
Block a user