-
Notifications
You must be signed in to change notification settings - Fork 689
BREAK
Mathias Wulff edited this page Dec 15, 2025
·
3 revisions
BREAK exits the current loop (WHILE, etc.).
Syntax:
BREAK [label];Example:
WHILE @i < 10
BEGIN
SET @i = @i + 1;
IF @i = 5 BREAK;
END© 2014-2026, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo