Note
This view is available starting with V4.1.0.
Purpose
This view displays the ordering of all triggers in the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TRIGGER_OWNER | VARCHAR2(128) | YES | The owner of the trigger. |
| TRIGGER_NAME | VARCHAR2(128) | NO | The name of the trigger. |
| REFERENCED_TRIGGER_OWNER | VARCHAR2(128) | YES | The owner of the referenced trigger. |
| REFERENCED_TRIGGER_NAME | VARCHAR2(128) | YES | The name of the referenced trigger. |
| ORDERING_TYPE | VARCHAR2(8) | NO | The type of ordering. |
Sample query
Query the ordering of all triggers in the current tenant.
obclient[SYS]> SELECT * FROM SYS.DBA_TRIGGER_ORDERING;
The query result is as follows:
+---------------+------------------+--------------------------+-------------------------+---------------+
| TRIGGER_OWNER | TRIGGER_NAME | REFERENCED_TRIGGER_OWNER | REFERENCED_TRIGGER_NAME | ORDERING_TYPE |
+---------------+------------------+--------------------------+-------------------------+---------------+
| SYS | TRG_AUDIT_DETAIL | SYS | TRG_AUDIT_BASE | FOLLOWS |
+---------------+------------------+--------------------------+-------------------------+---------------+
1 row in set
References
Query the ordering of all triggers accessible to the current user: ALL_TRIGGER_ORDERING
Query the ordering of all triggers owned by the current user: USER_TRIGGER_ORDERING
For more information about triggers, see Create and manage triggers.