7.19 HEXTOBIN

Use the @HEXTOBIN function to convert a supplied string of hexadecimal data into raw format.

Syntax

@HEXTOBIN (data)
data

The name of the source column, an expression, or a literal string that is enclosed within double quote marks.

Example

@HEXTOBIN ('414243') converts to three bytes: 0x41 0x42 0x43.