Then Then IF IF: Example
Then Then IF IF: Example
URL: https://mariadb.com/kb/en/if-statement/
Syntax:
[begin_label:] BEGIN
[statement_list]
END [end_label]
[begin_label:] LOOP
statement_list
END LOOP [end_label]
[begin_label:] REPEAT
statement_list
UNTIL search_condition
END REPEAT [end_label]
Labels are permitted for BEGIN ... END blocks and for the LOOP, REPEAT,
and WHILE statements. Label use for those statements follows these
rules:
The scope of a block label does not include the code for handlers
declared within the block. For details, see [HELP DECLARE HANDLER].
URL: https://mariadb.com/kb/en/labels/