Create simple stored procedure which returns resultset in mysql
+1
A:
I think this - http://www.mysqltutorial.org/mysql-stored-procedure-tutorial.aspx should help you.
Ivan Stefanov
2010-07-02 12:30:33
+1
A:
DELIMITER $$
DROP PROCEDURE IF EXISTS `something`.`PName` $$
CREATE PROCEDURE `Something`.`PName` (cid INT)
BEGIN
SELECT * FROM table;
END $$
DELIMITER ;
Svisstack
2010-07-02 12:38:01