Mustali Kachwala's Blog
Collection of softwares, news, articles, commands, reports, blah, blah, blah
Search This Blog
Tuesday, July 26, 2011
[Mysql] Case In-Sensitive Search
By default MySql performs a case sensitive search in order to perform case IN-sensitive search you need to use COLLATE option as shown below
select id from my_table where id like "%X%" COLLATE latin1_general_cs;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment