当前位置: 代码迷 >> Sql Server >> 哪位把这个SQL语句 改造上啊多谢
  详细解决方案

哪位把这个SQL语句 改造上啊多谢

热度:8   发布时间:2016-04-27 11:03:16.0
哪位把这个SQL语句 改造下啊,谢谢,
select * from s_schoolcata where charindex(',1,',myrootid+",")>0
哪位把这个SQL语句 改造下啊,这个报错,我是要把myrootid连接上“,”再查找

在线等


------解决方案--------------------
select * from s_schoolcata where charindex(',1,',myrootid+',')>0

------解决方案--------------------
探讨
select * from s_schoolcata where charindex(',1,',myrootid+',')>0
  相关解决方案