MySQL Forums
Forum List  »  Triggers

Re: problem with pre-define variable
Posted by: Peter Brawley
Date: February 03, 2014 08:31PM

> if I add DECLARE @i int; statement as below it generate an error.

As the manual says, user variables ie variables whose names begin with '@', are not DECLAREd.

Options: ReplyQuote


Subject
Views
Written By
Posted
1930
February 03, 2014 09:38AM
Re: problem with pre-define variable
1109
February 03, 2014 08:31PM
989
February 04, 2014 07:07AM
1065
February 04, 2014 03:30PM


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.