1)、按拼音首字母排序
SELECT * FROM T_TABLE ORDER BY NLSSORT(NAME, ‘NLS_SORT=SCHINESE_PINYIN_M‘);
2)、按笔画排序
SELECT * FROM T_TABLE ORDER BY NLSSORT(NAME, ‘NLS_SORT=SCHINESE_STROKE_M‘);
3)、按部首排序
SELECT * FROM T_TABLE ORDER BY NLSSORT(NAME, ‘NLS_SORT=SCHINESE_RADICAL_M‘);
一个更详细的文章地址:http://www.2cto.com/database/201203/125387.html
时间: 2024-10-05 22:17:32