Question : DBMS_JOB for Oracle Package

Hi ,
Thanks for everybody for posting your replies. I am new to this site and pretty impressed with this site . I have a question regarding DBMS_JOB. I am new to databse. my requirement is we have Oracle Package( includes 8 store procedures in it)  that needs to be run on daily basis using DBMS_JOB. This package  have one parameter( report month). Please help me how to create DBMS_JOB  to schedule  package. This package should run daily. please let me know do i need to eloborate more on my requirement? i am sorry if i am asking similar question if this has been lready repiled in forum.
Related Solutions: DBMS_JOB

Answer : DBMS_JOB for Oracle Package

- i have main proc in the package which calls others procs . So  "What means" do have to give only main proc name or something like "package.mainproc".

Answer:   See my script below

 and also does "interval" takescare running  the job everytime right?

Answer:  Yes, correct.


i got cleared all my questions pertaining to this thread.  all the answers helpfull for me..
Possible send me the script please.

Answer:  This is the script that you will ran in sqlplus connecting as the owner of the package.
Just run this:

declare
 v integer;
 begin
 DBMS_JOB.SUBMIT (v, 'package.mainproc;', trunc(sysdate)+20/24,  'trunc(SYSDATE+1)+20/24)');
end;

commit;
/


Random Solutions  
 
programming4us programming4us