Solved

Difference between Jobs and Scheduler Jobs

Posted on 2011-03-18
2
572 Views
Last Modified: 2012-05-11

We are trying to build the Team Foundation Server to maintain the versions of the scripts and in that process, we are generating scripts for the Database objects.

When I generate the scripts for "JOBS" and "SCHEDULED JOBS" from TOAD, I see different scripts.

Do we need both of these.  What is the difference between these "JOBS" and "SCHEDULED JOBS". Do I have to generate them separately or generating one should be good.

Please advise asap

Thanks

0
Comment
Question by:d27m11y
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 250 total points
ID: 35170352
JOBS are created by DBMS_JOBS package

SCHEDULED JOBS are created by DBMS_SCHEDULER

DBMS_SCHEDULER has a much more sophisticated set of functionality than DBMS_JOBS and can do anything that DBMS_JOBS can do and is intended to replace DBMS_JOBS.

However, there is one important limitation.  DBMS_SCHEDULER autocommits all actions with each call.  DBMS_JOBS does not.

If that distinction isn't important to you than you should use DBMS_SCHEDULER since it is the direction of Oracle's future scheduling plans.


0
 
LVL 5

Expert Comment

by:anand_20703
ID: 35196853
I understood from the above description : : At the moment, ddls from both dbms_jobs and scheduler_jobs can taken & saved.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question