MySQL Forums
Forum List  »  Stored Procedures

Stored procedure execution failed on command line
Posted by: Muhammad Ali
Date: February 10, 2015 09:44AM

Dear friends,

I am deploying following procedure via command line both in Windows and Linux but it gives error "ERROR 1064 (42000) at line 2: 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 5". But when I deploy this same procedure via Navicat or DBForge it gets deployed successfully. Your assistance is required to rectify this issue.

DROP FUNCTION IF EXISTS Func_TestFunc;
CREATE FUNCTION Func_TestFunc()
RETURNS VARCHAR(255)
DETERMINISTIC
BEGIN
RETURN TRUE;
END;

Options: ReplyQuote


Subject
Views
Written By
Posted
Stored procedure execution failed on command line
4177
February 10, 2015 09:44AM


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.