select * from tabname where 1=1 order by CHARINDEX(RTRIM(CAST(列名 as NCHAR)),'北京,上海,广州')
select * from tabname where id in(1,2,3,4,5) order by charindex(','+convert(varchar,id)+',','2
select * from tabname where 1=1 order by CHARINDEX(RTRIM(CAST(列名 as NCHAR)),'北京,上海,广州')
select * from tabname where id in(1,2,3,4,5) order by charindex(','+convert(varchar,id)+',','2