MySQL Forums
Forum List  »  Newbie

Re: BINARY operator not working properly
Posted by: Peter Brawley
Date: July 04, 2013 11:26AM

As that page says, BINARY casts the string following it to a binary string. It is hard to think of a valid reason for storing prices in a string column. If that's what this table does, (i) the answer to your question seems to depend on how the column was defined, and (ii) the column should be made decimal.

Options: ReplyQuote


Subject
Written By
Posted
Re: BINARY operator not working properly
July 04, 2013 11:26AM


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.