16.20 - ADD CHECK (boolean_condition) - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

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.