SQL>SQL> SET SERVEROUTPUT ONSQL> 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 /12345PL/SQL procedure successfully completed.