vinoindiamca Posted February 2, 2009 Share Posted February 2, 2009 Hi please help in this I written stored procedure through phpmyadmin it give error create procedure sp_validation2(in u varchar(100), out a varchar(500)) begin select address into a from booking where name=u; END Error: Error SQL query: Documentation CREATE PROCEDURE sp_validation2( IN u varchar( 100 ) , out a varchar( 500 ) ) BEGIN SELECT address INTO a FROM booking WHERE name = u; MySQL said: Documentation #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 '' at line 3 Please help me Link to comment https://forums.phpfreaks.com/topic/143459-stored-procedure-not-working/ Share on other sites More sharing options...
fenway Posted February 6, 2009 Share Posted February 6, 2009 Don't double post. Link to comment https://forums.phpfreaks.com/topic/143459-stored-procedure-not-working/#findComment-755784 Share on other sites More sharing options...
Recommended Posts