Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: DBMS_JOB.INTERVAL help needed
"Rauf Sarwar" <rs_arwar_at_hotmail.com> a écrit dans le message de news:1111843239.251202.199400_at_g14g2000cwa.googlegroups.com...
| If next interval is not too complicated, you could also make use of
| DECODE, TRUNC and simple date arithmatic to calculate next interval
| without resorting to PLSQL.
|
| Regards
| /Rauf
The advantage of using a function is that if you have to modify the schedule, you just have to modify the function and not all the jobs based on this schedule. Moreover, you can make calculation you can't explain with just basic functions like decode and trunc.
Regards
Michel Cadot
Received on Sat Mar 26 2005 - 08:15:16 CST