java - oracle对汉字字段按照拼音排序的函数和sql语句是什么?
巴扎黑
巴扎黑 2017-04-18 10:52:43
0
2
612

除了order By nlssort(colname,'NLS_SORT=SCHINESE_PINYIN_M')外,还有其他的方法或函数吗?

巴扎黑
巴扎黑

reply all(2)
Ty80

If you don’t use Oracle’s own NLS sorting function, you can add a Pinyin field to the table, assign the value yourself when inserting the record, and then sort according to the Pinyin field.

This method is less flexible and requires the sorting field to be relatively fixed.

大家讲道理

Link description
please refer to it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!