2026-03-12 20:23:15
This commit is contained in:
13
timhall/monitoring/monitoring_status.sql
Normal file
13
timhall/monitoring/monitoring_status.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/monitoring/monitoring_status.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Shows the monitoring status for the specified tables.
|
||||
-- Call Syntax : @monitoring_status (schema) (table-name or all)
|
||||
-- Last Modified: 21/03/2003
|
||||
-- -----------------------------------------------------------------------------------
|
||||
SET VERIFY OFF
|
||||
|
||||
SELECT table_name, monitoring
|
||||
FROM dba_tables
|
||||
WHERE owner = UPPER('&1')
|
||||
AND table_name = DECODE(UPPER('&2'), 'ALL', table_name, UPPER('&2'));
|
||||
Reference in New Issue
Block a user