MySQL Reference Manual for version 4.0.18.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.1.9.3 LOOP Statement

 
[begin_label:] LOOP
  statement(s)
END LOOP [end_label]

LOOP implements a simple loop construct, enabling repeated execution of a particular statement or group of statements. The statements within the loop are repeated until the loop is exited, usually this is accomplished with a LEAVE statement.

begin_label and end_label must be the same, if both are specified.



This document was generated by rdg (Feb 25 2004) using texi2html