34,594
社区成员
发帖
与我相关
我的任务
分享
select * from tb where ','+ids+',' like '%,2,%'
select * from table where charindex(',2,',','+ids+',')>0
select * from tb where charindex(',2,',','+ids+',')>0
select *
from [table]
where charindex(',2,',','+ids+',')>0