MSSQL 按照字段中文比划排序

直接上代码

 

 

代码
insert #t select 1,''
union all select 2,''
union all select 3,''
union all select 4,''
union all select 5,''
select * from #t order by name collate chinese_prc_stroke_cs_as_ks_ws
drop table #t

 

 

 

posted @ 2010-11-11 16:05  niky  阅读(301)  评论(0编辑  收藏  举报