forked from xtender/xt_scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesc_trg.sql
36 lines (33 loc) · 897 Bytes
/
desc_trg.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
col owner for a30;
col trigger_name for a30;
col trigger_type for a12;
col triggering_event for a30;
col table_owner for a30;
col base_object_type for a5;
col column_name for a30;
col when_clause for a30;
col description for a30;
col trigger_body new_val trigger_body noprint;
break on owner on trigger_name skip page;
ttitle -
'###############################################################################' skip 1 -
'' trigger_body skip 1 -
'###############################################################################' skip 1 -
'' skip 2;
select
tr.owner
,tr.trigger_name
,tr.trigger_type
,tr.triggering_event
,tr.table_owner
,tr.base_object_type
,tr.column_name
,tr.when_clause
,tr.status
,tr.description
,tr.action_type
,tr.trigger_body
from dba_triggers tr
where
tr.trigger_name='MI_MOD_CTX_TRIG'
/