MYSQL 触发器之Can't update table 'student' in stored function/trigger
1.创建触发器create trigger stu_trigger before insert on studentfor each rowBEGIN update student set age = age+2 where id > "003";end;2.可以创建成功但是执行insert 操作INSERT INTO student (id,name,age,se...
原创
2019-07-31 11:52:29 ·
5844 阅读 ·
1 评论