数据库表中字段alter Table TableName
区分大小写 ALTER Column ColumnName VARCHAR(50) COLLATE Chinese_PRC_CS_AS不区分大小写 ALTER Column ColumnName VARCHAR(50) COLLATE Chinese_PRC_CI_AS
或
select * from table where password='a' collate Chinese_PRC_CS_AI //区分大小写