CASE
Translation reference for CASE statements
Description
The
CASE
statement chooses from a sequence of conditions and runs a corresponding statement. For more information regarding Oracle CASE, check here.
Some parts in the output code are omitted for clarity reasons.
Simple case
Searched case
Sample Source Patterns
Sample auxiliar table
IN -> Oracle_01.sql
Simple Case
Oracle
IN -> Oracle_02.sql
Snowflake Scripting
OUT -> Oracle_02.sql
Searched Case
Oracle
IN -> Oracle_03.sql
Snowflake Scripting
OUT -> Oracle_03.sql
Known issues
1. Labels are not supported in Snowflake Scripting CASE syntax
The labels are commented out or removed depending on their position.
Related EWIS
Last updated