--区分大小写 在where字段后面加上 COLLATE Chinese_PRC_CS_AS select * from dbo.[ID_NO_Desensitization] where [ID_NO] collate Chinese_PRC_CS_AS ='91370303554358493w' --不区分大小写 在where字段加上 COLLATE Chinese_PRC_CI_AS select * from dbo.[ID_NO_Desensitization] where [ID_NO] collate Chinese_PRC_CI_AS ='91370303554358493w'
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/283158.html