34.53. triggered_update_columns

Для триггеров в текущей базе данных, установленных для списка колонок (например, UPDATE OF column1, column2), представление triggered_update_columns показывает эти колонки. Триггеры, для которых не задаётся список колонок, в этом представлении не отражаются. В нём показываются только колонки, доступные текущему пользователю (как владельцу или имеющему некоторые права, кроме SELECT).

Таблица 34-51. Колонки triggered_update_columns

ИмяТип данныхОписание
trigger_catalogsql_identifierИмя базы данных, содержащей триггер (всегда текущая база)
trigger_schemasql_identifierИмя схемы, содержащей триггер
trigger_namesql_identifierИмя триггера
event_object_catalogsql_identifierИмя базы данных, содержащей таблицу, для которой определён триггер (всегда текущая база)
event_object_schemasql_identifierИмя схемы, содержащей таблицу, для которой определён триггер
event_object_tablesql_identifierИмя таблицы, для которой определён триггер
event_object_columnsql_identifierИмя колонки, для которой определён триггер

34.53. triggered_update_columns

For triggers in the current database that specify a column list (like UPDATE OF column1, column2), the view triggered_update_columns identifies these columns. Triggers that do not specify a column list are not included in this view. Only those columns are shown that the current user owns or has some privilege other than SELECT on.

Table 34-51. triggered_update_columns Columns

NameData TypeDescription
trigger_catalogsql_identifierName of the database that contains the trigger (always the current database)
trigger_schemasql_identifierName of the schema that contains the trigger
trigger_namesql_identifierName of the trigger
event_object_catalogsql_identifier Name of the database that contains the table that the trigger is defined on (always the current database)
event_object_schemasql_identifierName of the schema that contains the table that the trigger is defined on
event_object_tablesql_identifierName of the table that the trigger is defined on
event_object_columnsql_identifierName of the column that the trigger is defined on
FAQ