nabelrock
25-08-2007, 04:33
Hi everyone, I'm back again with a problem :)
I'm trying to compile a stored procedure in MySQL 5 through phpMyAdmin, but as simple as my stored proc is, still I encounter an error. Please see details below:
here's my SP:
CREATE PROCEDURE sp_test() BEGIN SELECT 'Hello'; END;
here's the error:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT 'Hello'' at line 1
Versions I am using:
phpMyAdmin 2.6.3-pl1
MySQL 5.0.24
is it a problem with phpMyAdmin? Help and suggestions are very much appreciated, thanks!
I'm trying to compile a stored procedure in MySQL 5 through phpMyAdmin, but as simple as my stored proc is, still I encounter an error. Please see details below:
here's my SP:
CREATE PROCEDURE sp_test() BEGIN SELECT 'Hello'; END;
here's the error:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT 'Hello'' at line 1
Versions I am using:
phpMyAdmin 2.6.3-pl1
MySQL 5.0.24
is it a problem with phpMyAdmin? Help and suggestions are very much appreciated, thanks!