HEX_DECODE_BINARY

functionsupportedCore SQL functions

docs.snowflake.com ↗

String & binary functions

Decodes a hex-encoded string to a binary.

Syntax

HEX_DECODE_BINARY(<input>)

Parameters

NameRequiredDescription
inputrequiredA 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.

See also

Referenced by