I have created a stored procedure in Mysql, as :
DELIMITER //
CREATE PROCEDURE test()
BEGIN
SELECT * FROM buyers;
END //
DELIMITER ;
but when i call it using,
call test()
it returns an error saying :
#1312 - PROCEDURE ticketninja.test1 can't return a result set in the given context