日期:2014-05-18 浏览次数:20404 次
select t from R_info where charindex(','+ltrim(id)+',',','+@str+',')>0
------解决方案--------------------
select t from R_info where charindex(','+ltrim(id)+',',','+@str+',')>0 order by charindex(','+ltrim(id)+',',','+@str+',')