Skip to Main Content

SQL & PL/SQL

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!

How to dynamically change the "INTERVAL" variable through dbms_job.submit using procedure.

User_ZVLXKFeb 24 2022

Hi Team,
image.png
Assume we have TABLE A with four columns as shown in above screenshot.
For every Store, I need to schedule job using dbms_job.submit where the interval has to change dynamically for every frequency as given in above column.
E.g: For Store "R001" the job should run for every 50sec, similarly for store "R004", the job should run for every 30 sec.. and so on..
Is there a way the above requirement can be achieved.
Please suggest.

Comments
Post Details
Added on Feb 24 2022
13 comments
806 views