DECLARE i NUMBER(4) := 10; BEGIN WHILE (i <= 100) LOOP DBMS_OUTPUT.PUT_LINE(i); i := i+10; END LOOP; END;
BEGIN FOR i IN 1..10 LOOP DBMS_OUTPUT.PUT_LINE(i); END LOOP; END;