建表语句:
1 create table test (ID number);
循环插入:
1 begin 2 for i in 1 .. 1000 loop 3 insert into test values (i); 4 end loop; 5 commit; 6 end;
参考链接:https://www.cnblogs.com/coloz/p/11168550.html