Oracle 视图 ALL_TRIGGER_ORDERING 官方解释,作用,如何使用详细说明
本站中文解释
ALL_TRIGGER_ORDERING 视图用于查询指定的表是否具有触发器,或其触发器在指定的表中的顺序。它显示可用的信息如表名,触发器类型,触发器顺序,触发器名称等。
使用这个视图,你可以查询特定表(例如,EMP)下是否有触发器以及如果有,则这些触发器的名字和类型以及顺序:
SELECT *
FROM all_triggers_ordering
WHERE table_name = ‘EMP’;
官方英文解释
ALL_TRIGGER_ORDERING
describes the triggers accessible to the current user that have FOLLOWS
or PRECEDES
ordering.
Related Views
-
DBA_TRIGGER_ORDERING
describes all triggers in the database that haveFOLLOWS
orPRECEDES
ordering. -
USER_TRIGGER_ORDERING
describes the triggers owned by the current user that haveFOLLOWS
orPRECEDES
ordering. This view does not display theTRIGGER_OWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the trigger |
|
|
|
Name of the trigger |
|
|
Owner of the referenced trigger |
|
|
|
Name of the referenced trigger |
|
|
|
Type of the ordering between the trigger and the referenced trigger:
|
See Also:
-
“DBA_TRIGGER_ORDERING”
-
“USER_TRIGGER_ORDERING”