Can’t update table ‘xxx’ in stored function/trigger because it is already used by statement which in
Posted flftfw
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Can’t update table ‘xxx’ in stored function/trigger because it is already used by statement which in相关的知识,希望对你有一定的参考价值。
mysql: Solution for ERROR 1442 (HY000): Can’t update table ‘xxx’ in stored function/trigger because it is already used by statement which invoked this stored function/trigger.
今天在做触发器时发生了这个错误
原因是在对某表操作时同时触发对该表插入
估计这在mysql不允许的
不可以把触发条件和触发动作归于一表
以上是关于Can’t update table ‘xxx’ in stored function/trigger because it is already used by statement which in的主要内容,如果未能解决你的问题,请参考以下文章
Can’t update table ‘xxx’ in stored function/trigger because it is already used by statement which in
关于mysql 5.7版本“报[Err] 1093 - You can't specify target table 'XXX' for update in FROM clau
You can't specify target table 'Person' for update in FROM clause
You can't specify target table 'table' for update in FROM clause
MySQL之You can't specify target table for update FROM clause解决办法
解决MySQL Update:You can't specify target table for update in FROM clause