首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

oracle自动安插100w行记录

2012-11-29 
oracle自动插入100w行记录1、打开ql/sql测试窗口2、输入脚本?-- Created on 2012/11/7 by JERRY?declare?? -

oracle自动插入100w行记录

1、打开ql/sql测试窗口


oracle自动安插100w行记录

2、输入脚本

?

-- Created on 2012/11/7 by JERRY?

declare?

? -- Local variables here

? count integer;

begin

? -- Test statements here

? dbms_output.put_line('start:'||sysdate);

?

? for count in 1..1000000 loop

? ? insert into gather_hour a?

? ? ? ? ? ?values (sys_guid(), sysdate, sys_guid(), sys_guid(), 123, sys_guid(), 100022229999);

? ? commit;

? end loop;

?

? dbms_output.put_line('end:'||sysdate);

end;

?


oracle自动安插100w行记录

?

3、执行脚本


oracle自动安插100w行记录

热点排行