The constraint_table_usage view provides information about tables used by constraints.
| Column name | Data type | Description |
|---|---|---|
table_catalog |
sql_identifier |
The name of the current database containing the table that is used by some constraint. |
table_schema |
sql_identifier |
The name of the schema containing the table that is used by some constraint. |
table_name |
sql_identifier |
The name of the table that is used by some constraint. |
constraint_catalog |
sql_identifier |
The name of the current database that contains the constraint. |
constraint_schema |
sql_identifier |
The name of the schema that contains the constraint. |
constraint_name |
sql_identifier |
The name of the constraint. |