using Autonomous transaction
From: Sam <shyamp73_at_yahoo.com>
Date: 11 Aug 2003 08:55:26 -0700
Message-ID: <564714ef.0308110755.31576624_at_posting.google.com>
Date: 11 Aug 2003 08:55:26 -0700
Message-ID: <564714ef.0308110755.31576624_at_posting.google.com>
Guys,
I have a stored procedure executing a number of statements including
delete , select and lots of inserts in one big procedure and main
transaction
I have a stored procedure sp_log_action with a PRAGMA AUTONOMOUS
TRANSACTION defined which is called after each statement in the main
stored procedure(this writes the event to a table).
I have a question regarding oracle.
It seems to me a locking problem. can u suggest me a way around this.
Or am I doing the right thing to log a event . ???
Any suggestions will be helpful!!
thanks,