Database Administration (MOSC)

MOSC Banner

dbms_scheduler.create_job

edited Feb 7, 2017 6:15PM in Database Administration (MOSC) 7 commentsAnswered

HI:

Our database version is 11.2.0.2 and will be upgraded to 12.1.0.2 soon.

I have six procedures as below:

SP_13MONTHS_RETENTION_PROC1

SP_13MONTHS_RETENTION_PROC2

SP_13MONTHS_RETENTION_PROC3

SP_13MONTHS_RETENTION_DELPROC4

SP_13MONTHS_RETENTION_DELPROC5

SP_13MONTHS_RETENTION_DELPROC6

I need to schedule these to automatically run only once a month on specific date such as for example 1st of the month.

I have been looking through the dbms_scheduler.create_job but not sure how I should achieve this. Also, another requirement is that these procedures will have to be scheduled in the listed sequence. The second one will run only after the first one finishes etc. I can't estimate how long each procedure will run. It will purely depends on how much data will be in each month.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center