Home > Database > Mysql Tutorial > body text

Oracle笔记:删除非owner job

WBOY
Release: 2016-06-07 17:10:58
Original
1547 people have browsed it

在尝试使用sys删除一个用户的job的时候报错了,应该使用DBMS_IJOB下的REMOVE来处理即可。SQLgt; Exec DBMS_JOB.REMOVE(62);

删除非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-

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template