ITERATE ne peut être utilisée qu'à
l'intérieur d'une boucle LOOP,
REPEAT ou WHILE.
ITERATE signifie ``exécute encore une fois
la boucle.''
Par exemple :
CREATE PROCEDURE doiterate(p1 INT)
BEGIN
label1: LOOP
SET p1 = p1 + 1;
IF p1 < 10 THEN ITERATE label1; END IF;
LEAVE label1;
END LOOP label1;
SET @x = p1;
END
This is a translation of the MySQL Reference Manual that can be
found at
dev.mysql.com.
The original Reference Manual is in English, and this translation
is not necessarily as up to date as the English version.