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: b G
Date: December 24, 2006 01:06PM

These were my thoughts exactly. At first, my trigger was for "BEFORE INSERT." I assumed since I was updating rows in the same table, that the trigger wouldn't result in recursion, since the trigger was for insert statements. I was wrong, and I get this error. Changed to "AFTER INSERT" and no dice. It's seriously raining on my parade....

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
19016
b G
December 24, 2006 01:06PM


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.