MySQL Forums
Forum List  »  MySQL Workbench

Re: Error Code: 1442. Can't update table tablename in stored function/trigger because it is already used by statement which invoked this stored function
Posted by: Peter Brawley
Date: April 27, 2021 08:24PM

"A stored function or trigger cannot modify a table that is already being used (for reading or writing) by the statement that invoked the function or trigger."

https://dev.mysql.com/doc/refman/8.0/en/stored-program-restrictions.html

Options: ReplyQuote




Sorry, only registered users may post in this forum.

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.