MySQL Forums
Forum List  »  Newbie

Re: newbie:store a value with select command
Posted by: Shantanu Oak
Date: May 02, 2005 07:08AM

select @first:=balance FROM ACCOUNT where ACCOUNT_ID=2

There needs a FROM table clause and I think you also need a colon after @first

Options: ReplyQuote


Subject
Written By
Posted
Re: newbie:store a value with select command
May 02, 2005 07:08AM


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.