4
我要插入一个存储过程的结果到一个临时表,就像这样:MySQL的:如何插入存储过程的结果到临时表
CREATE temporary TABLE NEWBalance (VendorAmount NUMERIC(15,2),
UserBalanceAmount NUMERIC(15,2));
INSERT NEWBalance call SP VenAccNo,PeopleId;
但是,这会产生一个错误:
Error Code: 1064. You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for
the right syntax to use near 'call SP VenAccNo,PeopleId' at line 1
有没有办法做到这一点?