MySQL Forums
Forum List  »  Triggers

Re: Can't update table 'tbl' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Posted by: Andrej Nagy
Date: January 05, 2009 02:55PM

As you said it is not possible to update a table for for which the trigger is created in the trigger. I ended up with removing the trigger and handling the action in the procedure (InsertRecord, DeleteRecord, UpdateRecord). All modifications than have to be done using this procedures.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Can't update table 'tbl' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
25360
January 05, 2009 02:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.