1]BEGINFOR I IN 1..100 LOOP DBMS_OUTPUT.PUT_LINE(I);END LOOP;END;2 ]DECLARE V_I NUMBER;BEGIN V_I:=1; LOOP EXIT WHEN V_I=100; DBMS_OUTPUT.PUT_LINE(V_I); V_I:=V_I+1; END LOOP;END;3] 采用WHILE