declare
pnum number := 1; str Varchar2(8):='你好'; begin while pnum < 10 loop dbms_output.put_line(str||pnum); pnum := pnum + 1; end loop; end; ---------- declare pnum number := 1; begin loop exit when pnum > 10; dbms_output.put_line(pnum); pnum:=pnum+1; end loop; end; --------- declare pnum number := 1; begin for pnum in 1 .. 10 loop dbms_output.put_line(pnum); end loop; end;