2026-03-12 20:23:15
This commit is contained in:
23
timhall/monitoring/object_status.sql
Normal file
23
timhall/monitoring/object_status.sql
Normal file
@@ -0,0 +1,23 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/monitoring/object_status.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Displays a list of objects and their status for the specific schema.
|
||||
-- Requirements : Access to the ALL views.
|
||||
-- Call Syntax : @object_status (schema-name)
|
||||
-- Last Modified: 15/07/2000
|
||||
-- -----------------------------------------------------------------------------------
|
||||
SET SERVEROUTPUT ON
|
||||
SET PAGESIZE 1000
|
||||
SET LINESIZE 255
|
||||
SET FEEDBACK OFF
|
||||
SET VERIFY OFF
|
||||
|
||||
SELECT Substr(object_name,1,30) object_name,
|
||||
object_type,
|
||||
status
|
||||
FROM all_objects
|
||||
WHERE owner = Upper('&&1');
|
||||
|
||||
PROMPT
|
||||
SET FEEDBACK ON
|
||||
SET PAGESIZE 18
|
||||
Reference in New Issue
Block a user