문제

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 ;

올바른 솔루션이 없습니다

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top