--测试数据 create table 表(fd varchar(10)) insert into 表 select aa='aa' union all select 'Aa' union all select 'AA' --全角A union all select 'A,A' --全角A,半角, union all select 'A,A' --全角A,全角, go
--查询 --1.查大写字母 select * from 表 where fd collate Chinese_PRC_CS_AS_WS like '%A%' --就是在字段名后加 collate Chinese_PRC_CS_AS_WS
--2.查全角 select * from 表 where fd collate Chinese_PRC_CS_AS_WS like '%A%'
--3.查半角 select * from 表 where fd collate Chinese_PRC_CS_AS_WS like '%,%' go