MySQL Forums
Forum List  »  Stored Procedures

Store Procedure
Posted by: NOT_FOUND NOT_FOUND
Date: July 02, 2013 10:11AM

Hello


I got this message...

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 'BEGIN DECLARE w_er int(10)' at line 2


The code..

create procedure prueba
BEGIN
DECLARE var_e int(10);
END;

Options: ReplyQuote


Subject
Views
Written By
Posted
Store Procedure
1576
July 02, 2013 10:11AM
767
July 02, 2013 03:26PM


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.