数据库存储过程插入百万数据
oracle数据库
create or replace “bapp”.“aaa_rpsc”( in date_begin varchar(50)), in data_end varchar(50)) is
begin
declare i integer defalt 1;
while i<1000000 do
insert into sss(id,date_begin,data_end)
values(i,‘sys_’||i,‘ppp’);
set i=i+1;
end while;
end