需要设置collate(校对) 。 collate规则:
*_bin: 表示的是binary case sensitive collation,也就是说是区分大小写的
*_cs: case sensitive collation,区分大小写
*_ci: case insensitive collation,不区分大小写

如果表已经设置为不区分大小写,采用如下方式:

可以将查询条件用binary()括起来。  如:
select  *  from table  where  field = binary(‘usename’);

最新文章

  1. webapi swagger自定义 HTTP Header验证用户
  2. MySQL性能优化——索引
  3. 帆软报表FineReport数据连接中游标问题解决方案汇总
  4. JS入门学习,编写一个简易月历
  5. 深入浅出Mybatis系列(五)---TypeHandler简介及配置(mybatis源码篇)
  6. M1/M2个人总结
  7. powershell中的两只爬虫
  8. C#连接MySql数据库的方法
  9. crossdomain.xml的配置详解
  10. String的一些蹊跷
  11. svg学习笔记
  12. codeforces 475D. CGCDSSQ
  13. linux中的find命令常用场景
  14. 【洛谷P2660烤鸡】
  15. Eclipse Memory Analyzer 分析内存泄露
  16. JavaScript中的Undefined / Null 类型相关说明
  17. Windows 批处理获取某路径下最新创建的文件的名称
  18. MyBatis笔记----报错:Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/ij34/mybatis/applicationContext.xml]: Invocation of init method failed; nested exception is org.sp
  19. badgeview
  20. cpu概念

热门文章

  1. js冒泡事件示例
  2. careercup-C和C++ 13.5
  3. c++下new与delete基础用法
  4. Oracle inactive session (last_call_et)
  5. linux命令 --> pwd命令
  6. 微信、微博、qq图标服务实现
  7. 滚动新闻插件vticker
  8. js Date.UTC() 与 php strtotime()生成的时间截不一样
  9. MySQL之select查询、function函数
  10. ajax_jsonp —— 跨域