Oracle 视图 ALL_TRIGGER_COLS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_TRIGGER_COLS 视图可提供给当前用户拥有权限访问的DML触发器所需要求参考的列的信息的集合,以及它们所指向的表和索引的名称。
用法:
SELECT * FROM all_trigger_cols
WHERE owner = ”
AND trigger_name = ”
ORDER BY column_name;
以上查询从视图all_trigger_cols中,获取当前拥有的DML触发器的列的相关信息,并对它们按照列名排序。
官方英文解释
ALL_TRIGGER_COLS
describes the use of columns in the triggers accessible to the current user and in triggers on tables accessible to the current user.
If the user has the CREATE ANY TRIGGER
privilege, then this view describes the use of columns in all triggers in the database.
Related Views
-
DBA_TRIGGER_COLS
describes the use of columns in all triggers in the database. -
USER_TRIGGER_COLS
describes the use of columns in the triggers owned by the current user and in triggers on tables owned by the current user.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Owner of the trigger |
|
|
|
Name of the trigger |
|
|
|
Owner of the table on which the trigger is defined |
|
|
|
Table on which the trigger is defined |
|
|
|
Name of the column used in the trigger |
|
|
|
Indicates whether the column is specified in the |
|
|
|
How the column is used in the trigger:
|
See Also:
-
“DBA_TRIGGER_COLS”
-
“USER_TRIGGER_COLS”