TRY_HEX_DECODE_BINARY
functionsupportedCore SQL functionsA special version of HEX_DECODE_BINARY that returns a NULL value if an error occurs during decoding.
Syntax
TRY_HEX_DECODE_BINARY(<input>)
Parameters
| Name | Required | Description |
|---|---|---|
input | required | A string expression containing only hexadecimal digits. Typically, this input string is generated by calling the function HEX_ENCODE. |
Returns
A BINARY value that can, for example, be inserted into a column of type BINARY.