数据库表中字段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 //区分大小写