Network_ninja Posted July 12, 2011 Share Posted July 12, 2011 Hi everyone... I decided to use Mysql Stored Procs but i don't find a complete tutorial on how this things work. But I already started creating one: Here is my simple SP: ; CREATE PROCEDURE GetAllProducts() Select * FROM products ; Question 1: Whenever I use this piece of code CALL GetAllProducts(); it will give me an ERROR 1312: PROCEDURE stored_procs. GetAllProducts can't return a result set in the given context Question 2: How do i display the created stored procs again.. so that I can review the code or modify the code. By the way I am using Mysql Control Center as my UI. Tnx in advance. Link to comment https://forums.phpfreaks.com/topic/241761-mysql-stored-procs/ Share on other sites More sharing options...
fenway Posted July 13, 2011 Share Posted July 13, 2011 This question came a while ago -- something with a php setting that controls this behavior...but I don't recall the details. It's on the forum, somewhere. Link to comment https://forums.phpfreaks.com/topic/241761-mysql-stored-procs/#findComment-1242489 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.