MySQL Forums
Forum List  »  Newbie

Re: Error Code: 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
Posted by: Jon Stephens
Date: January 27, 2016 10:38PM

You need to set a delimiter and use it to terminate the CREATE PROCEDURE statement.

The example at https://dev.mysql.com/doc/refman/5.6/en/create-procedure.html shows how to do this using the DELIMITER statement.

cheers,

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
Re: Error Code: 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
January 27, 2016 10:38PM


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.