Overview
information_schema.TABLE_CONSTRAINTS provides table constraint information.
Field description
| Field name | 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 type of the constraint. |