unhex() strong>是MySQL的String函数。此函数将十六进制值转换为字符串。
句法
select unhex(str);
参数:
str strong>:十六进制值。
例子1
Select unhex(6a61766174706f696e74);
输出 strong>:

例子2
Select unhex(4d7953716c537472696e6746756e6374696f6e);
输出 strong>:

unhex() strong>是MySQL的String函数。此函数将十六进制值转换为字符串。
select unhex(str);
str strong>:十六进制值。
Select unhex(6a61766174706f696e74);
输出 strong>:

Select unhex(4d7953716c537472696e6746756e6374696f6e);
输出 strong>:
