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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Case sensitive data

Status
Not open for further replies.

fayna

Programmer
Jan 14, 2002
35
ES
Is there any configuration option that lets MySQL distinguish different cases in tables' data?
Thanks
 
Quoted from here:

Code:
Use the BINARY keyword on each column you want to be case sensitive.

    ie. COLUMN_X CHAR(128) BINARY NOT NULL

Then it will use case sensitive searches and selects. It is important to note that even if a column doesn't include the BINARY keyword, all data is still stored in the correct case.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top