Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit a job in DBMS_JOB

Status
Not open for further replies.

230173

MIS
Jun 22, 2001
208
SG
Hi,

I'm trying to submit a job that has to be run every monday morning.

SQL> VARIABLE jobno number;
SQL> begin
2 DBMS_JOB.SUBMIT:)jobno,
3 'CLEAN_SYNC_INF;',
4 SYSDATE, NEXT_DAY(TRUNC(SYSDATE), ''MONDAY'') + 8/24');
5 commit;
6 end;
7 /
ERROR:
ORA-01756: quoted string not properly terminated

Could anybody help me with this?
 
Line 4:
SYSDATE, 'NEXT_DAY(TRUNC(SYSDATE), ''MONDAY'') + 8/24');

Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top