Purpose
information_schema.CHECK_CONSTRAINTS displays information about constraints on tables and columns in a CREATE TABLE operation.
Fields
| Parameter | Type | Nullable? | Description |
|---|---|---|---|
| CONSTRAINT_CATALOG | varchar(4096) | NO | The name of the catalog to which the constraint belongs. The value of this field is fixed to def. |
| CONSTRAINT_SCHEMA | varchar(128) | NO | The name of the schema to which the constraint belongs. |
| CONSTRAINT_NAME | varchar(128) | NO | The name of the constraint. |
| CHECK_CLAUSE | varchar(2048) | NO | The expression of the constraint. |