1442

一、问题描述

Can't update table 'site' in stored function/trigger because it is already used by statement which invoked this stored function/trigger.

无法在存储的函数/触发器中更新表“站点”,因为语句已经使用了调用该存储函数/触发器的语句

二、问题解决

触发器不能自己操作自己的表,我当时用到这个是增加一条数据,里面有一个字段和id一样,这样解决的。

原文地址:https://www.cnblogs.com/cuijiade/p/8707457.html