MSSQL  错误:在将 varchar 值 '1,2,3,5,6' 转换成数据类型 int 时失败。

 

select * from T_USERINFO where charindex(rtrim(',1,'), ',' + USER_ID + ',')>0

 

相关文章: