码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-04-03 12:57:42      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:ima   str   this   图片   site   strong   使用   题解   存储   

一、问题描述

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

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

 

二、问题解决

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

技术分享图片

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

标签:ima   str   this   图片   site   strong   使用   题解   存储   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!