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

陷入於死循環

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