Reference Guide > TDV Support for SQL Functions > Character Functions > BITSTRING_TO_BINARY
 
BITSTRING_TO_BINARY
This function translates the given VARCHAR bitstring representation into a VARBINARY value. This function is the inverse of TO_BITSTRING.
Syntax
BITSTRING_TO_BINARY (expression)
Example
SELECT BITSTRING_TO_BINARY('0110000101100010');