ITPub博客

首页 > 数据库 > Oracle > dbms_scheduler.run_job报错

dbms_scheduler.run_job报错

原创 Oracle 作者:own_my 时间:2015-05-28 12:59:31 0 删除 编辑
手工运行
 begin
dbms_scheduler.run_job('J_PROD_CTL'); 
end;
的时候报错
ORA-03001: unimplemented feature
ORA-06512: at "SYS.DBMS_ISCHED", line 196
ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
ORA-06512: at line 2
后面问了别人才知道
If you already created a chain job for a chain, you can use the RUN_JOB procedure to run that job (and thus run the chain), but you must set the use_current_session argument of RUN_JOB to FALSE.
... End Text Extracted

- Based on what said in document, I can not run_job with use_current_session => TRUE, as I was trying to do.
- Tested and confirmed:

SQL> begin
2 dbms_scheduler.run_job('CHAIN_JOB_1',FALSE);
3 end;
4 /

PL/SQL procedure successfully completed.

问题连接:https://community.oracle.com/thread/2439043

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

上一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2014-07-01

  • 博文量
    2
  • 访问量
    32446