22,290
社区成员
发帖
与我相关
我的任务
分享
select * from tb_table1 where ','+cast(useridList as varchar(8000))+',' like '%,011,%'
select * from tb_table1 where ','+cast(useridList as varchar(8000)) like '%,011,%'
select * from tb_table1 where ','+(cast(useridList as varchar(8000)) like '%,011,%'
select * from tb_table1 where ','+cast(useridList as varchar(8000)) like '%,011,%'
select * from tb_table1 where ','+cast(useridList as varchar(8000)) like '%,011,%'
alter table tb_table1 alter column useridlist varchar(8000)
select * from tb where charindex(','+cast(useridList as varchar(8000))+',',',011,')>0