Oracle获取汉字拼音
本地数据库中有积累的方法:GETHZPY
- SELECT GETHZPY.GETHZFULLPY('汉字') FROM DUAL;
结果: HanZi
- SELECT GETHZPY.GETHZFULLPYLOWER('汉字') FROM DUAL;
结果: hanzi
- SELECT GETHZPY.GETHZFULLPYUPPER('汉字') FROM DUAL;
结果: HANZI
- SELECT GETHZPY.GETHZFULLPYSUBSTR('汉字', 0, 1) FROM DUAL;
结果: H
- SELECT GETHZPY.GETHZPYCAP('汉字') FROM DUAL;
结果: HZ
- SELECT GETHZPY.GETHZPYCAPLOWER('汉字') FROM DUAL;
结果: hz
- SELECT GETHZPY.GETHZPYCAPSUBSTR('汉字', 0, 1) FROM DUAL;
结果: H