faqts : Computers : Programming : Languages : PHP : Database Backed Sites : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

37 of 44 people (84%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Is stored MySQL data Case Sensitive?

Feb 24th, 2000 12:14
Andrew Sheh, Onno Benschop,


By default MySQL data is store CASE INSENSITVE.  
Therefore, if you insert 'ABC' into a column called 'COMPANY'; you can 
query 'where COMPANY = 'abC' and the result is 1 row.
You can make the data BINARY to force it to be case INsensitive.  See 
related question.
How can I make columns in MySQL case sensitive?