16.20 - 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

A Boolean conditional expression, including scalar comparison conditions using, for example, any of the following:

  • =
  • <>
  • >
  • >=

Also see Teradata Vantage™ SQL Functions, Expressions, and Predicates, B035-1145.

When a CHECK constraint is part of the column definition, then a search condition cannot reference any columns other than the one being defined, nor are aggregate functions allowed.

Also see the CREATE TABLE (Column Definition Clause) topic “BETWEEN … AND … Constraints” in Teradata Vantage™ SQL Data Definition Language Detailed Topics , B035-1184 .