oracle 中 NLSSORT函数的用法

oracle 中 NLSSORT函数的用法

NLSSORT(),用来进行语言排序

拼音

SELECT*FROMTEAMORDERBYNLSSORT(排序字段名,'NLS_SORT=SCHINESE_PINYIN_M')

笔划

SELECT*FROMTEAMORDERBYNLSSORT(排序字段名,'NLS_SORT=SCHINESE_STROKE_M')

部首

SELECT * FROM TEAM ORDER BY NLSSORT(排序字段名,'NLS_SORT = SCHINESE_RADICAL_M')

二进制

SELECT * FROM TEAM ORDER BY NLSSORT(排序字段名,'NLS_SORT=BINARY_CI')