declare 
i integer;
j integer;
begin
  i := 1;
  j := 0;
  while i < 500000 loop
        insert into t_company(id, 
                              name, 
                              address, 
                              telephone, 
                              fax, 
                              contact_name, 
                              position, 
                              contact_phone, 
                              contact_mobile, 
                              email_address, 
                              type, 
                              is_maintenance)
                             values
                             (generator.nextval, 
                             to_char(i),
                              'address', 
                              '2028888', 
                              '202-888', 
                              'contact_name',
                               'position',
                             '135399',
                              '136028', 
                              '123@abc',
                              '1', 
                              '1');
                              
                             i := i + 1;
                             j:= j + 1;
                             if(j>=2000) then
                               commit;
                               j:=0;
                             end if;
  end loop;
  commit;
end;
阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6
标签: oracle