MySQL Forums
Forum List  »  Newbie

Re: STRCMP doesn't work
Posted by: Peter Brawley
Date: January 02, 2021 01:04PM

Strcmp() does not "look for a certain string in a field", Locate() does, Strcmp() merely looks for differences. If you can't see the difference it's finding, try comparing them as BINARY strings, or more revealingly compare their Hex() values.

Options: ReplyQuote


Subject
Written By
Posted
January 02, 2021 09:20AM
Re: STRCMP doesn't work
January 02, 2021 01:04PM


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.