可能重复:
use result set of mysql stored procedure in another stored procedure
在phpMyadmin中执行Mysql存储过程获取错误
我的存储过程
DROP PROCEDURE `SP_GetNews`//
CREATE DEFINER=`user`@`%` PROCEDURE `SP_GetNews`()
BEGIN
(Select * from tbl_news where Nw_Dontshowstatus = 0) order by Nw_UploadedTime desc;
END
调用SP时
CALL SP_GetNews;
会给出错误:
mysql#1312 - PROCEDURE无法返回给定上下文中的结果集
任何解决方案?