1、mysql
https://www.jb51.net/article/70884.htm
注:并非一定要在建表时设置,建表后修改也是可以的。
主要是字段属性一定要改,查询语句加不加binary都一样。
2、sql server
sql server规则是类似的,修改表>>选中要修改的字段>>下方列属性>>排序规则>>选择 区分大小写