pl/sql中的四种循环
loop exit when c_page >10; c_page := c_page+1; dbms_output.put_line(‘c_page : ‘ || c_page); end loop; while c_page<20 loop c_page := c_page+1; dbms_output.put_line(‘c_page : ‘ || c_page); end loop; <<repeat_loop>> dbms_output.put_line(‘repeat_loop : ‘); c_page:= c_page - 1; if c_page> 10 then goto repeat_loop; end if; for c_page in reverse 1..100 loop dbms_output.put_line(‘for loop : ‘ || c_page); end loop;