17.10 - ADD CHECK (boolean_condition) - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)

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.