May 2020
Beginner
564 pages
14h 9m
English
To loop through data in a stored procedure with LOOP, you can use the following sample syntax:
[beginlabel:] LOOP sql statements END LOOP [endlabel];
To loop through data in a stored procedure with REPEAT, you can use the following sample syntax:
[beginlabel:] REPEAT sql statementsUNTIL conditionEND REPEAT [endlabel]
To loop through data in a stored procedure with WHILE, you can use the following sample syntax:
[beginlabel:] WHILE condition DO sql statementsEND WHILE [end_label]
Read now
Unlock full access