Printing 1 to 5
declare x number := 1; begin loop exit when x = 6; dbms_output.put_line(x); x :=x+1; end loop; end;
01234