ROLL NO:218 With Exit Loop Input

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

ROLL NO:218 WITH EXIT LOOP INPUT:

declare i integer:=1; begin loop dbms_output.put_line(i); i:=i+1; exit when i>10; end loop; end; output:
1

2 3 4 5 6 7 8 9 10 PL/SQL procedure successfully completed. UNCONSTRAINED LOOP declare i integer:=1; begin loop dbms_output.put_line(i); i=i+1; end loop; end; / because of unconstarined loop pl/sql block goes into infinite loop

You might also like