dynamic sql from Forms
From: Jennifer R. Amon <bamon_at_ocvaxc.cc.oberlin.edu>
Date: Wed, 22 Dec 1993 17:06:53 -0500
Message-ID: <bamon-221293170653_at_amon.cc.oberlin.edu>
Date: Wed, 22 Dec 1993 17:06:53 -0500
Message-ID: <bamon-221293170653_at_amon.cc.oberlin.edu>
I'd like to store some SQL in the database and call it from a form.
If I store the name of a sql script in the database, I can call the
script with a host('sqlplus / _at_scriptname'); command, but I want
this SQL script to be able to do some complicated validation of
multiple rows of parameter data being inserted/updated from the
form.
Even if I call the script from the post-commit trigger, the changes
to the data are not apparent to the script. I assume that this is
because the host command actually starts a sub-process, and the
sub-process can't see the pending changes to the database.
Jennifer R. Amon PHONE: (216) 775-6987 Houck Computing Center FAX: (216) 775-8573 Oberlin College Oberlin, OH 44074 INTERNET: bamon_at_ocvaxc.cc.oberlin.eduReceived on Wed Dec 22 1993 - 23:06:53 CET
_____________________________________________________________________