Oacle 순환 sql 빠 른 데이터 삽입
572 단어 DB.Oracle
declare
i integer;
begin
--
i := 10000000;
loop
begin
insert into sx_wd_order
(ID)
values
(i);
insert into sx_wd_order_goods
(ID,
ORDER_ID)
values
(i,i);
end;
i := i + 1;
--
if i > 10010000 then
exit;
end if;
end loop;
commit;
end;