An unnamed CHECK column constraint as a table attribute, where column_name is the left-hand side of boolean_condition. A table attribute CHECK constraint can compare columns in the table and can compare column contents with constants. You can define a maximum of 100 table-level constraints for a table.
You cannot add a CHECK constraint on a column with the JSON data type.
- CONSTRAINT constraint_name
- Named CHECK column constraint as a table attribute. Specify a column_name on the left-hand side of boolean_condition.