16.20 - Comparison Operators - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1145-162K
Language
English (United States)

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