check_constraints

The view information_schema.check_constraints contains all check constraints defined on a table.

SELECT * FROM information_schema.check_constraints;

information_schema.check_constraints

column nametyperemarks
constraint_catalogVARCHARAlways NULL
constraint_schemaVARCHAR
constraint_nameVARCHAR
check_clauseVARCHAR