For loop: counter IN 1..5
SQL> SQL> SET SERVEROUTPUT ON SQL> DECLARE 2 counter INTEGER := 2; 3 BEGIN 4 FOR counter IN 1..5 LOOP 5 DBMS_OUTPUT.PUT_LINE(counter); 6 END LOOP; 7 END; 8 / 1 2 3 4 5 PL/SQL procedure successfully completed.