MySQL Forums
Forum List  »  Stored Procedures

Error using DECLARE in SPs
Posted by: Jon Eversett
Date: October 10, 2005 03:06PM

Hi ,

I've trying to compile the examples from the MySQL manual and I am getting error 1064 for every DECLARE statement e.g. DECLARE xid INT;
And get
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 'DECL
ARE xid INT' at line 1

I'm running version 5.0.13.

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
Error using DECLARE in SPs
3169
October 10, 2005 03:06PM
2066
October 10, 2005 04:32PM
1689
October 10, 2005 04:32PM
1709
October 11, 2005 07:26AM


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.