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: Jobno in dbms_job.submit

Re: Jobno in dbms_job.submit

From: Jeremy Ovenden <newsposter_at_hazelweb.co.uk>
Date: Thu, 20 Jun 2002 15:52:34 +0100
Message-ID: <aesq6u$9gsev$1@ID-140241.news.dfncis.de>

"Md Irfan" <irfan_pk_at_hotmail.com> wrote in message news:c42168e7.0206200554.6fd81ff4_at_posting.google.com...
> Hello,
> How does Oracle creates a job number for dbms_job.submit. Or
we have
> to declare our own job number?
>
> Thanks.

Oracle does this for you.

To submit a job e.g.

DECLARE
j NUMBER;
BEGIN dbms_job.submit(j,'wd_ctx_utils.sweep;',interval=>'sysdate+1/720 ');
  dbms_output.put_line('Job# is '||j);
END;
/

--
jeremy
Received on Thu Jun 20 2002 - 09:52:34 CDT

Original text of this message

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