Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-06512 when I put JOB_DBMS.INTERVAL

Re: ORA-06512 when I put JOB_DBMS.INTERVAL

From: <sybrandb_at_yahoo.com>
Date: 27 Mar 2006 07:04:15 -0800
Message-ID: <1143471855.029357.280250@e56g2000cwe.googlegroups.com>


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 DBA
Received on Mon Mar 27 2006 - 09:04:15 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US