SQL Notebook (logo)

WHILE Statement

Repeatedly executes the provided statements as long as the condition expression evaluates to the integer 1.

The loop may be terminated without regard to the expression by using the BREAK statement. The loop may be restarted by using the CONTINUE statement.

Syntax

Syntax for the WHILE statement

Arguments

Examples