择镮
Wednesday, January 21, 2015
MySQL - Case Sensitivity in String Searches
When use query like "%XXX%",to cause a case-sensitive comparison of nonbinary strings to be case insensitive,
change collation of field to be case insensitive,eg utf8_general_ci
p/s: ci = case insensitive
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment