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