当前位置:Gxlcms > 数据库问题 > c#排序sql语句查询

c#排序sql语句查询

时间:2021-07-01 10:21:17 帮助过:42人阅读

) select @type=sortable_text from Sortable with(nolock) where sortable_type=‘NoteType‘ and [key]=‘00000000‘ select * from Note with(nolock) where [key]=‘00000000‘ Order By charindex(‘,‘+ convert(varchar,id) +‘,‘, (SELECT REPLACE(@type,‘^‘,‘,‘)))

 

c#排序sql语句查询

标签:sql存储过程   图片   效果   src   char   inf   bsp   png   where   

人气教程排行