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

Home -> Community -> Mailing Lists -> Oracle-L -> Re:Submit job last day of each month

Re:Submit job last day of each month

From: <dgoulet_at_vicr.com>
Date: Thu, 11 Apr 2002 09:18:32 -0800
Message-ID: <F001.004420D5.20020411091832@fatcity.com>


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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: dgoulet_at_vicr.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). Received on Thu Apr 11 2002 - 12:18:32 CDT

Original text of this message

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