手工运行
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
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博客 ” ,链接:http://blog.itpub.net/29733230/viewspace-1675079/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29733230/viewspace-1675079/