Information Schema CHECK_CONSTRAINTS Table
You are viewing an old version of this article. View
the current version here.
MariaDB starting with 10.4
The following examples will work from MariaDB 10.4 onwards.
The INFORMATION SCHEMA CHECK_CONSTRAINTS table is used for fetching metadata about the constraints defined for tables in all databases. It contains the following columns:
Column | Description |
---|---|
CONSTRAINT_CATALOG | Always contains the string 'def'. |
CONSTRAINT_SCHEMA | Database name. |
TABLE_NAME | Table name. |
CONSTRAINT_NAME | Constraint name. |
CHECK_CLAUSE | Constraint clause. |
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.