明净

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理


var job_num number;
begin
dbms_job.submit(:job_num,'pro_tixing(sysdate,sysdate+30);',SYSDATE,'TRUNC(SYSDATE + 1)');
end;
print job_num

--------------------------------------------------------------------------

begin
dbms_job.run(26);
end;
/

--------------------------------------------------------------------------
SELECT JOB, NEXT_DATE, NEXT_SEC, FAILURES, BROKEN FROM ALL_JOBS;

SELECT * FROM ALL_JOBS;

--------------------------------------------------------------------------

begin
dbms_job.remove(25);
end;
/

--------------------------------------------------------------------------

posted on 2016-04-01 22:28  明净  阅读(162)  评论(0编辑  收藏  举报