Hi,
I've implemented calling a SP form a trigger using the
CALL_PROCEDURE()
UDF from
http://www-106.ibm.com/developerwork...402greenstein/
A couple of questions remain for future considerations?
1. This mechanism desn't allow for exceptions/return codes from the
called Stored Procedure to be passed back to the trigger code?
- I think I am going to have to write something to a table in the
SP for the Trigger to then read to determine if any exceptions occured
- seems a bit clumsy?
2. When 'direct' calling of SPs from triggers support is added, will
the Return Status and OUT parameters work directly with variables in
the trigger?
Many thanks.
Paul.