当前位置:Gxlcms > 数据库问题 > 【转】oracle 针对中文字段进行排序

【转】oracle 针对中文字段进行排序

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

1)按笔画排序

 select * from Table order by nlssort(columnName,‘NLS_SORT=SCHINESE_STROKE_M‘)

2)按部首排序

select * from Table order by nlssort(columnName,‘NLS_SORT=SCHINESE_RADICAL_M‘)

3)按拼音排序

select * from Table order by nlssort(columnName,‘NLS_SORT=SCHINESE_PINYIN_M‘); 

【转】oracle 针对中文字段进行排序

标签:

人气教程排行