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

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.