--取某字段在某以逗号分隔的字符串中的记录
--select * from DictionaryClass where charindex(','+cast([id] as varchar)+',',','+'1,2'+',')>0
--取某字符串在某个以逗号分隔的字段中的记录
--select * from CurrentWord where id > 0 and charindex(',2,',','+cast(ClassID as varchar)+',')>0
--select * from DictionaryClass where charindex(','+cast([id] as varchar)+',',','+'1,2'+',')>0
--取某字符串在某个以逗号分隔的字段中的记录
--select * from CurrentWord where id > 0 and charindex(',2,',','+cast(ClassID as varchar)+',')>0