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

Home -> Community -> Usenet -> c.d.o.misc -> Re: DBMS_JOBS.SUBMIT - DYNAMIC ???

Re: DBMS_JOBS.SUBMIT - DYNAMIC ???

From: jobs <jobs_at_webdos.com>
Date: 5 Jan 2007 14:40:55 -0800
Message-ID: <1168036855.163491.253060@42g2000cwt.googlegroups.com>


I'm trying to do something like the following so that I can call this sp from a vb.net/ado.net and it will schedule an oracle sp, however I suspect this will not work as DBMS_JOB.SUBMIT is not going to parse procname.. How can I do this, and is this even the smartest way to do this?

CREATE OR REPLACE PROCEDURE MYJOB_JOB(procname in varchar) IS

    jobno number;
BEGIN
    DBMS_JOB.SUBMIT(jobno,procname,sysdate);     commit;
END; Received on Fri Jan 05 2007 - 16:40:55 CST

Original text of this message

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