日期:2014-05-18 浏览次数:20635 次
declare @i table(col varchar(4)) insert into @i(col) select 'AFGD' union select 'AXCF' union select 'XXCD' select * from @i select * from @i where len(REPLACE(col,'X','')) = 3 --AXCF