Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: calling plsql with invoker rights from trigger
Billy Verreynne wrote:
> Mark Bole <makbo_at_pacbell.net> wrote in
>
>
>>Are you saying that this would be much better as a DBMS_ALERT, rather >>than a trigger? The LDAP update should be concurrent with the table >>update, although if it fails it isn't fatal.
Consider putting the code dealing with issues that don't relate specifically to the transaction into a stored procedure set up with PRAGMA AUTONOMOUS_TRANSACTION. That way if it fails no harm is done.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Sun Feb 22 2004 - 08:55:17 CST