One more question?
Will my schedule task Call my procedure/package?
Is this how I link both of them up?
Thanks
Main Topics
Browse All TopicsI wanted to know if you have any ideas for starting a scheduled routine on oracle. I am currently moving from access database routines connected ODBC to the more efficient routine on the oracle platform. I was thinking of creating a package to perform this procedure.
Scenerio: I have a stage table that records are added from a trigger being fired. Then a department updates a flag field to indicate if it's been processed. Once it's processed the record(s) can be deleted. Also, they are other indicators stating whether the records have to be manual looked at. On these, I would like to run a report to diplay these records.
If a package is the best way to handle this, can you point to some information? I have never created one before for this type of process. Any advice is very much appreciated.
Thank you
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
>>ex) job_action => 'begin delete from my_tab where some_flag = 'Y'; end; ',
That is a PL/SQL routine. That is the routine that will be scheduled.
You should read the docs on this:http://download.oracl
Also, actually trying / experimenting with the sample will help you learn.
>>Will my schedule task Call my procedure/package?
>>Is this how I link both of them up?
>>Or is it embedded in the job?
dbms_scheduler IS the scheduler. Using this, you don't need to write your own. Read the sample script again, it is set to run this daily. You can change the schedule. Review the docs for different frequency options / windows.
Business Accounts
Answer for Membership
by: mrjoltcolaPosted on 2009-10-30 at 12:45:05ID: 25706212
See this question that was just asked today where we provided similar answers. You can use Oracle's scheduler to schedule PL/SQL procedures, Java programs, etc.
e.com/Data base/Oracl e/10.x/ Q_2 4858157.ht ml
http://www.experts-exchang
Select allOpen in new window