MySQL Forums
Forum List  »  Stored Procedures

unable to create procedure or function error 1064
Posted by: js gros
Date: September 01, 2005 02:05AM

mysql> delimiter //

mysql> CREATE FUNCTION hello (s CHAR(20)) RETURNS CHAR(50)
-> RETURN CONCAT('Hello, ',s,'!');
-> //

ERROR 1064 (42000): 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 '(s CH
AR(20)) RETURNS CHAR(50)
RETURN CONCAT('Hello, ',s,'!')' at line 1
mysql>


an idea ? i'm loged as root
Mysql V4.1 on Windows 2000

Options: ReplyQuote


Subject
Views
Written By
Posted
unable to create procedure or function error 1064
8601
September 01, 2005 02:05AM


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.