Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

start packaged procedure with input parameters using job

2621671Apr 17 2014 — edited Apr 17 2014

Hi all,

My need is to modify trigger in order to read updated value in columns COL1, COL2 from table scheme1.table1 and pass them into packaged procedure scheme1.PKG_A.prepare1 when one-time job starts.

How do I perform it?

declare

vJobNumber binary_integer;

BEGIN

        dbms_job.submit(

        job => vJobNumber,

        next_date => SYSDATE,

        interval => NULL,

        what => 'begin scheme1.PKG_A.prepare1; end;'

        );

        commit;

END;

/

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2014
Added on Apr 17 2014
5 comments
232 views