Dbms_scheduler and Dbms_job

Source: Internet
Author: User

Quote Original: http://foolraty.iteye.com/blog/1107803

For dbms_job usage:
To find out more information about this failing job you can simply go over the jobnumber and select the needed information From the view dba_jobs.


Sql>select job, what from Dba_jobs;

For Dbms_scheduler usage:
For the application user the usage of scheduled jobs are now more defined by the name of the job and not by the job identif Ier.
Unfortunal the error message ORA-12012 won't show you the name of the job, but would still show you the job identifier.
This job identifier are now more dictionary information and correlates to the object_id from the view dba_objects

The job identifier is stored in the table sys.scheduler$_job under Column obj#.

When a relation for the job identifier to the job name was needed then the following SELECT statement can help:

Select obj#, object_name from Sys.scheduler$_job, dba_objects
where obj# = object_id;

Dbms_scheduler and Dbms_job

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.