declare
i number := 1;
j number := 1;
--count number := 1002275000;
v_pay_order_base_id number;
v_notify_times varchar2(20);
v_notify_type varchar2(20);
time timestamp(6);
begin
for i in 1..100000
loop
for j in 1..5000
loop
select TRUNC(DBMS_RANDOM.VALUE (0, 1000)) into v_pay_order_base_id from dual;
select TRUNC(DBMS_RANDOM.VALUE (0, 9)) into v_notify_times from dual;
select '0'||TRUNC(DBMS_RANDOM.VALUE (1, 4)) into v_notify_type from dual;
SELECT (SYSDATE - 1)+DBMS_RANDOM.VALUE (1, 1800) / 3600 / 24 into time FROM DUAL;
-- count := count +1;
insert into ET_PAY_ORDER_NOTIFY_mahanso values(mahanso.nextval,v_pay_order_base_id,v_notify_times,v_notify_type,time,time,'http://mahanso');
end loop;
commit;
end loop;
end;