Purpose
information_schema.TABLE_CONSTRAINTS displays the table constraint information.
Fields
| Field | Type | Nullable? | Description |
|---|---|---|---|
| CONSTRAINT_CATALOG | varchar(4096) | NO | The name of the catalog to which the constraint belongs. |
| CONSTRAINT_SCHEMA | varchar(128) | NO | The name of the database. |
| CONSTRAINT_NAME | varchar(128) | NO | The name of the constraint. |
| TABLE_SCHEMA | varchar(128) | NO | The name of the database. |
| TABLE_NAME | varchar(256) | NO | The name of the table. |
| CONSTRAINT_TYPE | varchar(128) | NO | The constraint type. |