MySQL Forums
Forum List  »  Newbie

Re: IF THEN
Posted by: Dave Smith
Date: March 23, 2005 01:49PM

I don't know why that doesn't work, but this does...

SELECT CASE WHEN @a > 1 THEN 'true' ELSE 'false' END



Dave Smith

Options: ReplyQuote


Subject
Written By
Posted
Tom
March 23, 2005 01:15PM
Re: IF THEN
March 23, 2005 01:49PM
March 23, 2005 04:44PM
Tom
March 24, 2005 08:01AM
March 24, 2005 08:23AM


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.