Re: 1064 error in Mysql Stored Procedure
Posted by: Andrew Gilfrin
Date: January 30, 2005 03:57PM


Your create statement is wrong because you are declaring the parameter type in the wrong position. you need to have the IN before the parameter name, not after. It should look like this....

CREATE PROCEDURE data_insert (IN First_Name VARCHAR(30), IN Last_Name VARCHAR(30) ......

If you need more advice checkout my MySQL Stored Procedure Tutorial website here.


Andrew Gilfrin.

Options: ReplyQuote

Written By
Re: 1064 error in Mysql Stored Procedure
January 30, 2005 03:57PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.