LOOP STATEMENT

Description

Defines an unconditional loop that is repeated indefinitely until terminated.

Click here to navigate to the PostgreSQL documentation page for this syntax.

Loop Statement is supported by Snowflake.

Grammar Syntax

[ <<label>> ]
LOOP
    statements
END LOOP [ label ];

Sample Source Patterns

Input

LOOP
      Select AValue from ATable;
END LOOP;

Known Issues

No issues were found.

No related EWIs.

Last updated