Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Job submission: interval error
Oracle 8.0.4
I am attempting to submit a job using the following:
DECLARE
JobNumber NUMBER;
BEGIN
DBMS_JOB.SUBMIT(:JobNumber,
'TX.GenerateWeeklyData;',
SysDate,
'NEXT_DAY(TRUNC(SysDate,'SUNDAY')+0.5';
END;
as I want the job to run every Sunday at noon. But I keep getting a PL/SQL
compiler error complaining about 'SUNDAY'. This happens regardless of the
day I use. I can't get it to accept the NEXT_DAY function at all for the
interval.
Any ideas?
Thanks,
Lee.
Received on Fri Jul 06 2001 - 03:01:56 CDT
![]() |
![]() |