This is a guest post by David Clement, a veteran database engineer and a friend of mine. You can find him online at davidclement.org.
I’ve found the following query handy for investigating an ORA-12012 in an alert log. ORA-12012 is a dbms_scheduler execution error and it provides a job number without a name, where the Scheduler views give job names without numbers. So, to relate the job number to a name:
SELECT d.job_name, d.job_action
FROM dba_scheduler_jobs d JOIN sys.scheduler$_job s
ON d.job_action = s.program_action
WHERE s.obj# = &job_number;
Maybe this will be useful for others as well.
Comments Off | Filed in Oracle, Tips | Tags: dbms_scheduler