16.20 - Comparison Operators - Teradata Vantage NewSQL Engine

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

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

Purpose

Comparison operators, which are types of logical predicates (also called conditional expressions), test the truth of relations between expressions.

  • IF, WHILE, REPEAT, and CASE statements in stored procedures
  • WHEN clauses in searched CASE expressions
  • WHERE, ON, and HAVING clauses to qualify or disqualify rows in a SELECT statement
  • CASE_N functions

Syntax