CASE | Teradata Vantage - CASE - Advanced SQL Engine - Teradata Database

SQL Stored Procedures and Embedded SQL

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
vqj1592443206677.ditamap
dita:ditavalPath
vqj1592443206677.ditaval
dita:id
B035-1148
lifecycle
previous
Product Category
Teradata Vantageā„¢

Provides conditional execution of statements based on the equality of two operands (simple CASE statement) or the value of a conditional expression (searched CASE statement).

The CASE statement is different from the SQL CASE expression, which returns the result of an expression.

ANSI Compliance

CASE is ANSI/ISO SQL:2011-compliant.

Required Privileges

None.

Invocation

Executable

Stored procedures only.