MySQL Forums
Forum List  »  Newbie

Re: Max Query Issue
Posted by: Felix Geerinckx
Date: May 20, 2005 02:36PM

JOHN FARRUGIA wrote:

> yes the value is a string type. can I convert it to an integer in my query statment without
> altering the table?

SELECT MAX(0+value) ...

But performance will suffer. You really should put *numbers* in *numeric* column types.

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
May 20, 2005 11:19AM
May 20, 2005 11:28AM
May 20, 2005 12:17PM
May 20, 2005 01:32PM
May 20, 2005 01:58PM
May 20, 2005 02:19PM
May 20, 2005 02:28PM
Re: Max Query Issue
May 20, 2005 02:36PM


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.