declare @t table([Name] nvarchar(10)) insert @t select '好的啊!' insert @t select '12345好的' insert @t select '123' insert @t select 'sdff' select * from @t where PATINDEX('%[吖-座]%',[name])>0 /* Name        ----------  好的啊! 12345好的  (所影响的行数为 2 行)*/
posted on 2012-07-12 13:24  ASP.NET爱好  阅读(912)  评论(2编辑  收藏  举报