现在的话考虑CLR写正则吧,也是一种方式 [其他解释] 如果你没有其他限定条件。基本上就是表扫描的结果。 [其他解释] select product_name from ( select *,substring(p.product_name,8,1) as [8],substring(p.product_name,9,1)as [9] from TB ) a where [8]<>[9] 试试效果 [其他解释] and substring(p.product_name,8,1)<>substring(p.product_name,9,1) and substring(p.product_name,9,1)=substring(p.product_name,10,1) and substring(p.product_name,9,1)=substring(p.product_name,11,1)