15.10 - CHECK (boolean condition) - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Teradata Database
Release Number
December 2015
Content Type
Programming Reference
Publication ID
English (United States)

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

  • =
  • <>
  • >
  • >=

Also see SQL Functions, Operators, 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 SQL Data Definition Language - Detailed Topics, B035-1184.