This commit is contained in:
adevyatova 2021-05-25 06:21:45 +00:00
parent b1b02dfc58
commit e9cc105e2e

View File

@ -151,11 +151,11 @@ Result:
└──────────────────┘
```
## unhex(str) {#unhexstr}
## unhex {#unhexstr}
Performs the opposite operation of [hex](#hex). It interprets each pair of hexadecimal digits (in the argument) as a number and converts it to a character.
If you want to convert the result to a number, you can use the [reverse](../../sql-reference/functions/string-functions.md#reverse) and [reinterpretAs<Type>](../../sql-reference/functions/type-conversion-functions.md##type-conversion-functions) functions.
If you want to convert the result to a number, you can use the [reverse](../../sql-reference/functions/string-functions.md#reverse) and [reinterpretAsType](../../sql-reference/functions/type-conversion-functions.md##type-conversion-functions) functions.
Синоним: `UNHEX`.