Tag: stop_job

How to stop a job scheduled in DBMS_SCHEDULER?

Using sys.dbms_scheduler.STOP_JOB one can stop scheduled job. SQL> exec sys.dbms_scheduler.STOP_JOB(job_name=>'SYS.ORA$AT_OS_OPT_SY_12856', force=>true); Output: PL/SQL procedure successfully completed. If it can't find the job then you may see the following error, in the example below I hadn't specified the user to it was looking for the job as the current user. ORA-27475: "DBAUSER.ORA$AT_OS_OPT_SY_12856" must be a job … Continue reading How to stop a job scheduled in DBMS_SCHEDULER?