1: like
select * from Table where field like '%'+ @paras + '%'
2:in
exec('select * from Table where Field in ('+@paras+')')
@paras: "para1,para2,para3,para4"
1: like
select * from Table where field like '%'+ @paras + '%'
2:in
exec('select * from Table where Field in ('+@paras+')')
@paras: "para1,para2,para3,para4"