17.00 - 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.00
Release Date
September 2020
Content Type
Programming Reference
Publication ID
B035-1144-170K
Language
English (United States)

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 .