MySQL Forums
Forum List  »  General

Re: Greater than or Equal to - produces invalid result
Posted by: Peter Brawley
Date: December 06, 2019 01:05PM

It's treating your args as strings. "9" > "100". If the column isnumeric, treat as such in the query, also add +0 to it.

Options: ReplyQuote


Subject
Written By
Posted
Re: Greater than or Equal to - produces invalid result
December 06, 2019 01:05PM


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.