Oracle Table Triggers Viewer

Lists all triggers defined on a specified table, including trigger owner, name, and status. Useful for auditing table-level logic and verifying trigger configuration.

oraclesqlmaintenance-cleanupv1.0.0
0 stars0 downloads2 views0 comments
By OracleDba • Created

Code

(13 lines)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- -----------------------------------------------------------------------------------
-- File Name    : https://oracle-base.com/dba/monitoring/table_triggers.sql
-- Author       : Tim Hall
-- Description  : Lists the triggers for the specified table.
-- Call Syntax  : @table_triggers (schema) (table_name)
-- Last Modified: 07/11/2016
-- -----------------------------------------------------------------------------------
SELECT owner,
       trigger_name,
       status
FROM   dba_triggers
WHERE  table_owner = UPPER('&1')
AND    table_name = UPPER('&2');

General Comments(0)

Tip: Click on a line number in the code to add a line-specific comment

No general comments yet. Be the first to comment!