Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-06512 when I put JOB_DBMS.INTERVAL
BEGIN DBMS_JOB.INTERVAL(1,'next_day(sysdate,''WEDNESDAY'')'); END
The interval parameter is *always* a quoted string, and will be passed
AS IS to the job scheduler.
Consequently it needs to be single quoted and the single quotes around
wednesday need to be escaped by a single quote.
-- Sybrand Bakker Senior Oracle DBAReceived on Mon Mar 27 2006 - 09:04:15 CST