删除非owner job
在尝试使用sys删除一个用户的job的时候报错了,应该使用DBMS_IJOB下的REMOVE来处理即可。
SQL> Exec DBMS_JOB.REMOVE(62);
begin DBMS_JOB.REMOVE(62); end;
ORA-23421: job number 62 is not a job in the job queue
ora-06512: at "sys.dbms_sys_error", line 86
ORA-06512: at "SYS.DBMS_IJOB", line 529
ORA-06512: at "SYS.DBMS_JOB", line 174
ORA-06512: at line 2
SQL> Exec DBMS_IJOB.REMOVE(62);
PL/SQL procedure successfully completed
SQL> COMMIT;
-The End-
当前位置: 数据库>oracle
Oracle笔记:删除非owner job
来源: 互联网 发布时间:2017-04-22
本文导语: 删除非owner job在尝试使用sys删除一个用户的job的时候报错了,应该使用DBMS_IJOB下的REMOVE来处理即可。SQL> Exec DBMS_JOB.REMOVE(62); begin DBMS_JOB.REMOVE(62); end; ORA-23421: job number 62 is not a job in the job queueora-06512: at "sys.dbms_sys_error", line 86ORA...