Sunday, 13 January 2013

Oracle Job Backup script


select 'declare lv_job number(10); begin ' ||
       'sys.dbms_job.submit(job => lv_job, what => ''' || what ||
       ''', next_date => (sysdate + 1000), interval => ''' || interval ||
       '''); commit; end;'
  from user_jobs;

No comments:

Post a Comment