Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: DBMS_JOB
Roland:
This anonymous PL/SQL block submits a job that will insert a row into mytable:
VARIABLE jobno number;
BEGIN
DBMS_JOB.SUBMIT(:jobno,
'insert into mytable values (''One'',''Two'',''Three'');' 'SYSDATE, 'SYSDATE + 1');
The SYSDATE parameter says, "Run this right now" and the SYSDATE+1 parameter says, "Then run this again at this same time tomorrow."
Jon Walthour
-----Original Message-----
Roland.Skoldblom_at_ica.se
Sent: Monday, August 27, 2001 5:35 AM
To: Multiple recipients of list ORACLE-L
Hallo,
How can I schedule a pl/sql job, I want this to happen:
Every Sunday at 11 pm I want to do an insert into a table. How shoudl I write the code in the DBMS_JOB satement.?
Roland S
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: Roland.Skoldblom_at_ica.se
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Jon Walthour
INET: jonw_at_fuse.net
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Aug 27 2001 - 05:33:51 CDT
![]() |
![]() |