Dear All,
How to create Store Procedure on MySQL 5A ?
When I try to create the SP, but always error
"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 ....."
But it very simple like,
CREATE PROCEDURE test1(OUT)
BEGIN
USE Mysql;
SELECT * FROM db;
END
And how to execute from sqlquery analyzer(like SQL Server)..
How to create Store Procedure on MySQL 5A ?
When I try to create the SP, but always error
"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 ....."
But it very simple like,
CREATE PROCEDURE test1(OUT)
BEGIN
USE Mysql;
SELECT * FROM db;
END
And how to execute from sqlquery analyzer(like SQL Server)..