Oracle nlssort 函数:用来进行语言排序,且不影响当前会话。
按字段的拼音排序:
SELECT * FROM TABLE_NAME ORDER BY NLSSORT(排序字段,'NLS_SORT = SCHINESE_PINYIN_M')
按字段的笔划排序:
SELECT * FROM TABLE_NAME ORDER BY NLSSORT(排序字段,'NLS_SORT = SCHINESE_STROKE_M')
按字段的部首排序:
SELECT * FROM TABLE_NAME ORDER BY NLSSORT(排序字段,'NLS_SORT = SCHINESE_RADICAL_M')
ConstXiong 备案号:苏ICP备16009629号-3