MySQL Forums
Forum List  »  Newbie

Re: A problem with IFstatement.
Posted by: Andrew Gilfrin
Date: July 26, 2005 07:58AM

That IF statement is related to stored procedures and can't be used outside of that.

No you can't use IF in an SQL script in the way you are hoping to. You need some sort of scripting to do that, what are you trying to do?

Andrew Gilfrin
------------------
http://gilfster.blogspot.com
My MySQL related Blog

http://www.mysqldevelopment.com
MySQL Stored Procedure,Trigger, View.... (Just about most things these days) Information

Options: ReplyQuote


Subject
Written By
Posted
Re: A problem with IFstatement.
July 26, 2005 07:58AM


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.