1442 - Can't update table 'site' in stored functiontrigger because it is al

 

一、问题描述

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

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

 

二、问题解决

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

posted @ 2018-04-03 11:25  我是小菜啊1  阅读(819)  评论(0编辑  收藏  举报