使用 select @user=user from t_users
提示 Not allowed to return a result set from atrigger
在储存过程中可以这样使用 但触发器中无法使用,
需改变方式 为 select user,pwd into @user,@pwd from t_users
最后
以上就是能干花卷最近收集整理的关于MySQL触发器中变量的使用的全部内容,更多相关MySQL触发器中变量内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复