我想将从存储过程返回的数据存储到表中。 我试过了。
insert into table1 call sp_test();
但它失败了。
我该怎么做?
最佳答案
试试这个
call sp_test(@var)
insert into table1 (select @var);
在过程中参数中应该有out变量
关于mysql - 作为从存储过程返回的数据插入到表中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11239256/