sql 批量处理

declare i int;
begin
i:=0;
while i < 1000
loop
select * from table where rownum<1000;
i:=i+1;
commit;
end loop;
end;

原文地址:https://www.cnblogs.com/MZXS/p/5726666.html