27,579
社区成员
发帖
与我相关
我的任务
分享
select * from table1 where charindex(','+rtrim(NO)+',',','+@NO+',')>0
select * from table1 where charindex(','+rtrim(NO)+,'',','+@NO+',')>0
select * from table1 where charindex(rtrim(NO),@NO)>0
where no in (@no)
--OR
WHERE charindex(no+',',@no)>0
where NO in(@A1,@A2,@A3)