Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

regarding stopping job temporarily in oracle 9i.

635651Apr 28 2008 — edited Apr 30 2008
Hi All,

I have millions of records to insert into database.I schedule the job at midnight if it is unable to complete by morning 6AM. i want stop the job immediately and i have to reschedule the remaining records next day midnight.i am maintaing the status of inserted records .

i tried like this. i have broken the the job. but still it is running and inserting the data into table.

declare
v_job number;
begin
dbms_job.submit(v_job,'temp1;');
commit;
end;

begin
dbms_job.BROKEN( 41,true,trunc(sysdate+1));
commit;end;


How to achieve this logic.

Please give me any suggestions.

Thanks,
Ram.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2008
Added on Apr 28 2008
2 comments
1,797 views