How to CALL a PROCEDURE in MySQL?
问题 I've started to examine Procedures in MySQL, but all my efforts don't work. Here is my Procedure Creation: DELIMITER // CREATE PROCEDURE test(IN a INT) BEGIN SELECT * FROM `table` WHERE `id` = a; END MySQL returns O.K., no errors. DELIMITER ; MySQL returns O.K., no errors. But CALL-Statement does not work: CALL test(8); Returns an error: #1312 - PROCEDURE dbxyz.test can't return a result set in the given context Now, I don't know what I've made wrong: a mistake in Procedure-Cration or an