Итеративная инструкция SQL
BEGIN
FOR i IN 1..10 LOOP
DBMS_OUTPUT.PUT_LINE(i);
END LOOP;
END;
Zio Paperone
BEGIN
FOR i IN 1..10 LOOP
DBMS_OUTPUT.PUT_LINE(i);
END LOOP;
END;
DECLARE
i NUMBER(4) := 10;
BEGIN
WHILE (i <= 100)
LOOP
DBMS_OUTPUT.PUT_LINE(i);
i := i+10;
END LOOP;
END;