ITPub博客

首页 > 数据库 > Oracle > create job

create job

原创 Oracle 作者:tolilong 时间:2015-08-24 15:45:25 0 删除 编辑
SQL> variable job number;

create job:
SQL> begin
  2  dbms_job.submit(:job,'dc;',sysdate,'sysdate+1/24/60/60');
  3  end;
  4  /
PL/SQL procedure successfully completed
 
Executed in 0.297 seconds
job
---------
1

remove job:
SQL> begin
  2  dbms_job.remove(1);
  3  end;
  4  /
 
PL/SQL procedure successfully completed
 
Executed in 0.015 seconds

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24237320/viewspace-1781177/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-07-13

  • 博文量
    406
  • 访问量
    1208701