Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re:Submit job last day of each month
declare
job_id number;
job varchar2(2000) := '<Fill in what you need>';
begin
dbms_job.submit(job_id, job, last_day(sysdate). 'last_day(sysdate)');
dbms_output.put_line('Job number is: '||job);
end;
Dick Goulet
____________________Reply Separator____________________ Author: Rick_Cale_at_teamhealth.com Date: 4/11/2002 8:25 AM
Hi,
Does anyone know how I can submit a job using dbms_job the last day of each month. I know there is a last_day function but cannot figure how to use this correctly in dbms_job.
Thanks
Rick
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: Rick_Cale_at_teamhealth.com
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).
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 Thu Apr 11 2002 - 12:18:32 CDT
![]() |
![]() |