I am writing a very simple stored procedure as shown below:
DROP PROCEDURE IF EXISTS GetAllTours; DELIMITER // CREATE PROCEDURE GetAllTours() BEGIN SELECT * FROM tours; END // DELIMITER ;
When i use
CALL GetAllTours();
there is no way out of the SQL query to run this procedure.
But if I exit >>Routines>>Execute , of the same procedure, the output will be successfully executed.
Can someone tell me how to run from a SQL query and get the results?
source share