工作中可能遇到这样的情况,在A用户下有一个不用的job,但是dba不知道A用户的密码,怎么删除这个job呢. 相信大部分人都会尝试在sys用户下用dbms_job.remove()命令去删除它,但是会报错 sys用户下 SQL> exec dbms_job.remove(70); BEGIN dbms_job.remove(70); END; * ERROR at line 1: ORA-23421: job number 70 is not a job in the job queue…
引用原文:http://foolraty.iteye.com/blog/1107803 For DBMS_JOB usage:To find out more information about that failing job you can simply go over the job number and select the needed information from the view dba_jobs. SQL>select job, what from dba_jobs ; Fo…
一.设置初始化参数 job_queue_processessql> alter system set job_queue_processes=n;(n>0)job_queue_processes最大值为1000查看job queue 后台进程sql>select name,description from v$bgprocess;或者sql>show parameter job_queue_processes;二.dbms_job package 用法介绍1.Broken()过程更…