35.8. check_constraint_routine_usage

Представление check_constraint_routine_usage описывает подпрограммы (функции и процедуры), участвующие в проверках ограничений. В нём показываются только те подпрограммы, которые принадлежат роли, активной в данный момент.

Таблица 35.6. Столбцы check_constraint_routine_usage

Тип столбца

Описание

constraint_catalog sql_identifier

Имя базы данных, содержащей ограничение (всегда текущая база)

constraint_schema sql_identifier

Имя схемы, содержащей ограничение

constraint_name sql_identifier

Имя ограничения

specific_catalog sql_identifier

Имя базы данных, содержащей функцию (всегда текущая база)

specific_schema sql_identifier

Имя схемы, содержащей функцию

specific_name sql_identifier

«Однозначное имя» функции. Подробнее оно описано в Разделе 35.41.


35.8. check_constraint_routine_usage

The view check_constraint_routine_usage identifies routines (functions and procedures) that are used by a check constraint. Only those routines are shown that are owned by a currently enabled role.

Table 35.6. check_constraint_routine_usage Columns

Column Type

Description

constraint_catalog sql_identifier

Name of the database containing the constraint (always the current database)

constraint_schema sql_identifier

Name of the schema containing the constraint

constraint_name sql_identifier

Name of the constraint

specific_catalog sql_identifier

Name of the database containing the function (always the current database)

specific_schema sql_identifier

Name of the schema containing the function

specific_name sql_identifier

The specific name of the function. See Section 35.41 for more information.


FAQ