gaodaima.com
SELECT ORD(CONVERT('中' USING ucs2)) AS chinese;
===============
20013
SELECT HEX(CONVERT('中' USING ucs2)) AS chinese;
===============
4E2D
摘自 ylqmf的专栏
本文来源gaodai^.ma#com搞#代!码网
gaodaima.com
gaodaima.com
SELECT ORD(CONVERT('中' USING ucs2)) AS chinese;
===============
20013
SELECT HEX(CONVERT('中' USING ucs2)) AS chinese;
===============
4E2D
摘自 ylqmf的专栏
gaodaima.com