WHILE

Translation reference to convert Oracle WHILE statement to Snowflake Scripting

Description

The WHILE LOOP statement runs one or more statements while a condition is TRUE. (Oracle PL/SQL Language Reference WHILE Statement)

WHILE boolean_expression
  LOOP statement... END LOOP [ label ] ;
WHILE ( <condition> ) { DO | LOOP }
  <statement>;
  [ <statement>; ... ]
END { WHILE | LOOP } [ <label> ] ;

Oracle WHILE behavior can also be modified by using the statements:

Sample Source Patterns

While simple case

Oracle

Snowflake Scripting

Known Issues

No issues were found.

No related EWIs.

Last updated

Was this helpful?