First page Back Continue Last page Image

A Stored Procedure WHILE Loop

WHILE boolean_expression DO

code_to_run

END WHILE;

This translates to “As long as this boolean expression is TRUE keep going in a loop

So what should be obvious is, if this code does not change this boolean expression the code will loop forever