39.52. table_constraints #
Представление table_constraints показывает все ограничения, принадлежащие таблицам, к которым имеет доступ текущий пользователь (являясь владельцем или имея некоторые права, кроме SELECT).
Таблица 39.50. Столбцы table_constraints
Тип столбца Описание |
|---|
Имя базы данных, содержащей ограничение (всегда текущая база) |
Имя схемы, содержащей ограничение |
Имя ограничения |
Имя базы данных, содержащей таблицу (всегда текущая база) |
Имя схемы, содержащей таблицу |
Имя таблицы |
Тип ограничения: |
|
|
|
Для ограничений уникальности — |
39.52. table_constraints #
The view table_constraints contains all constraints belonging to tables that the current user owns or has some privilege other than SELECT on.
Table 39.50. table_constraints Columns
Column Type Description |
|---|
Name of the database that contains the constraint (always the current database) |
Name of the schema that contains the constraint |
Name of the constraint |
Name of the database that contains the table (always the current database) |
Name of the schema that contains the table |
Name of the table |
Type of the constraint: |
|
|
|
If the constraint is a unique constraint, then |