CASE
Translation reference for CASE statements
Description
Simple case
[ <<label>> ] CASE case_operand
WHEN boolean_expression THEN statement ;
[ WHEN boolean_expression THEN statement ; ]...
[ ELSE statement [ statement ]... ;
END CASE [ label ] ;CASE ( <expression_to_match> )
WHEN <expression> THEN
<statement>;
[ <statement>; ... ]
[ WHEN ... ]
[ ELSE
<statement>;
[ <statement>; ... ]
]
END [ CASE ] ;Searched case
Sample Source Patterns
Sample auxiliar table
Simple Case
Oracle
Snowflake Scripting
Searched Case
Oracle
Snowflake Scripting
Known issues
1. Labels are not supported in Snowflake Scripting CASE syntax
Related EWIS
Last updated
Was this helpful?