PL/SQL Loop 1 to n times

Submitted by:Tim Kelly

Date added:13 May, 2013

Category:PL SQL

You can also run this an anonymous SQL Block

Tags: loop

Code Snippet:

    DECLARE
indx INTEGER;
BEGIN
FOR indx IN 1..10
LOOP

DBMS_OUTPUT.PUT_LINE(indx);

END LOOP;
END;
 
 

Comments