declare v_count binary_integer := 0; begin loop dbms_output.put_line('繰り返し処理:' || v_count); v_count := v_count + 1; if v_count >= 10 then exit; end if; end loop; end;