Logical Predicates | Teradata Vantage - 17.10 - About Logical Predicates - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL Functions, Expressions, and Predicates

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

A logical predicate tests an operand against one or more other operands to evaluate to a logical (Boolean TRUE, FALSE, or UNKNOWN) result.

The tested operand can be one of the following:

  • A column name
  • A literal
  • An arithmetic expression
  • A Period expression, including a derived period
  • The DEFAULT function
  • A built-in function such as CURRENT_DATE or USER that evaluates to a system variable