MySQL 8.0 Release Notes
MySQL 8.0 Source Code Documentation
The CHECK_CONSTRAINTS
table
(available as of MySQL 8.0.16) provides information about
CHECK
constraints defined on tables.
The CHECK_CONSTRAINTS
table has these
columns:
CONSTRAINT_CATALOG
The name of the catalog to which the constraint belongs. This value is always
def
.CONSTRAINT_SCHEMA
The name of the schema (database) to which the constraint belongs.
CONSTRAINT_NAME
The name of the constraint.
CHECK_CLAUSE
The expression that specifies the constraint condition.