遇到报错Not allowed to return a result set from a trigger
原因是在触发器不能返回数据,而且select @id :=id的写法需要改写成select id into @id,select '测试’需要改写成select ‘测试’ into @test
MySQL 触发器Not allowed to return a result set from a trigger
最新推荐文章于 2023-10-23 15:04:06 发布
遇到报错Not allowed to return a result set from a trigger
原因是在触发器不能返回数据,而且select @id :=id的写法需要改写成select id into @id,select '测试’需要改写成select ‘测试’ into @test