Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL Queries

Status
Not open for further replies.

Niclov

Programmer
Jun 28, 2001
45
CA
Hi,
I'm relatively new to using MySQL and am having some difficulties formulating queries. I'm trying to retrieve exact matches from my table, but the search seems to be case insensitive, and returns all entries containing the same letters, regardless of the words being upper-case or lower-case. Is there a way to correct this?
 
Browse the online documentation for the differences between column types, and column options:
You will see that for CHAR, VARCHAR, TEXT, and BLOB datatypes, there is always a way to force sorts and comparisons to be case-sensitive.

For example, TEXT and BLOB are identical, except that TEXT columns are case-insensitive while BLOB columns are case-sensitive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top