标签: mysql sql stored-procedures
我有一个存储过程,我正在寻找运行(2)select语句,一个检查一个值,INTO输出参数myoutputparam,另一个从表中选择*
INTO
myoutputparam
*
存储过程:
SELECT `name` INTO myoutputparam FROM db.table WHERE `id` = 5; SELECT * FROM db.table;
问题:为什么我收到此错误commands out of sync?
commands out of sync