7.00.02 - Multi_Case - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17

The Multi_Case function extends the capability of the SQL CASE statement by supporting matches to multiple criteria in a single row.

When SQL CASE finds a match, it outputs the result and immediately proceeds to the next row without searching for more matches in the current row.

The Multi_Case function iterates through the input data set only once and outputs matches whenever a match occurs. If multiple matches occur for a given input row, the function outputs one output row for each match.

Use the Multi_Case function when the conditions in your CASE statement do not form a mutually exclusive set.