The check_constraints view provides information about all check constraints, either defined on a table or domain, that are owned by a currently enabled role.
| Column name | Data type | Description |
|---|---|---|
constraint_catalog |
sql_identifier |
The name of the current database containing the constraint. |
constraint_schema |
sql_identifier |
The name of the schema containing the constraint. |
constraint_name |
sql_identifier |
The name of the constraint. |
check_clause |
character_data |
The check expression of the check constraint. |