Question

I am using the procedure below : But I am not getting any value when I type this in localhost phpmyadmin/mysql:

call GetAllProducts() ;

it returns no value as select statement does? where can I execute to see the values? How do I make it wotk.I really appreciate any help. Thanks in Advance.

The procedure below is successfully executed and stored .I checked that.

DELIMITER //
CREATE PROCEDURE GetAllProducts()
   BEGIN
   SELECT *  FROM products;
   END //
DELIMITER ;

No correct solution

OTHER TIPS

A couple of times you mention using phpMyAdmin; what version do you have?

I'm unable to reproduce your problem; it works properly for me. From the database, click the Routines tab, then for your GetAllProducts routine click the Execute link.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top