mysql 存储过程与事务代码错误

发布网友 发布时间:2022-04-22 00:14

我来回答

1个回答

热心网友 时间:2022-05-01 05:07

想确认mysql有这样的语法么?
select money from account where id = accountPay into @money;
select id from account where id = accountAccept into @anum;
改成下面试试
select money into @money from account where id = accountPay;
select id into @anum from account where id = accountAccept;

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com