一般来说,使用UTF8字符集,容易导致中文排序混乱
解决方法:ORDER BY COLLATION_KEY_BIT(字段名, ‘UCA500R1_LZH_KGB2312HAN_AN_CX_EX_FX_HX_NX_S3’) asc;
基于 Unicode 整理算法的整理
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.admin.nls.doc/doc/r0050489.html
COLLATION_KEY_BIT 函数说明
http://pic.dhe.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.sql.ref.doc%2Fdoc%2Fr0050491.html