15.10 - ADD CHECK (boolean_condition) - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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.