mysql触发器报错

Explicit or implicit commit is not allowed in stored function or trigger--在存储函数/过程  中不能显示或隐式提交

if 条件 then  语句 end if -----语句有问题


check the manual that corresponds to your MySQL server version for the right syntax to use near ''

语法错误  在mysql中end  if 分开,if条件判断不要()


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

陷入于死循环

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章