MySQL数据库汉字转拼音全拼(大写、小写、拼音首字母)函数和ELT(INTERVAL(CONV(HEX(LEFT(CONVERT方式实现转拼音
一、使用函数etl语法语法SELECTELT(INTERVAL(CONV(HEX(LEFT(CONVERT('汉语'USINGgbk),1)),16,10),0xB0A1,0xB0C5,0xB2C1,0xB4EE,0xB6EA,0xB7A2,0xB8C1,0xB9FE,0xBBF7,0xBFA6,0xC0AC,0xC2E8,0xC4C3,0xC5B6,0xC5BE,0xC6DA,0xC8BB,0x