如何在oracle后台执行一段耗时的sql

2016-10-19  本文已影响61人  木坦坦

使用工具:pl/sql developer

1.获得一段测试代码

declare 
  i integer;
begin
  insert into table1 t (t.mail,t.weight ) 
  select 
  b.mail_num as mail,
  b.actual_weight as weight
  from table12 a left join table13 b on a.mail_num=b.mail_num;
  commit;
end;

2.新建job执行测试代码

content

3.等待执行结果

上一篇 下一篇

猜你喜欢

热点阅读