09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

tkaqdocp.sql: Examples of Operational Interfaces<br />

Rem Second Order<br />

execute BOLADM.new_order_enq('My Third Book', 1, 1002, 'WA');<br />

commit;<br />

/<br />

Rem Third Order<br />

execute BOLADM.new_order_enq('My Fourth Book', 1, 1003, 'NV');<br />

execute BOLADM.same_order_enq('My Fifth Book', 3);<br />

execute BOLADM.same_order_enq('My Sixth Book', 2);<br />

commit;<br />

/<br />

Rem Fourth Order<br />

execute BOLADM.new_order_enq('My Seventh Book', 1, 1004, 'MA');<br />

execute BOLADM.same_order_enq('My Eighth Book', 3);<br />

execute BOLADM.same_order_enq('My Ninth Book', 2);<br />

commit;<br />

/<br />

Rem<br />

Rem Dequeue the neworders<br />

Rem<br />

execute BOLADM.get_new_orders;<br />

C-36 <strong>Oracle</strong>9i Application Developer’s Guide - <strong>Advanced</strong> <strong>Queuing</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!