DECLARE I number; BEGIN I:=1; Loop Dbms_output.put_line(I); I:=I+1; Exit when I>10; End loop; END;
OUTPUT
NOTE: We used SQL Developer and Oracle XE to Execute this Program.
1 2 3 4 5 6 7 8 9 10
DECLARE I number; BEGIN I:=1; Loop Dbms_output.put_line(I); I:=I+1; Exit when I>10; End loop; END;
OUTPUT
NOTE: We used SQL Developer and Oracle XE to Execute this Program.
1 2 3 4 5 6 7 8 9 10