TO_BITSTRING

The TO_BITSTRING function converts data from the binary type to the character type, where the character representation is the bitstring format.

Syntax

TO_BITSTRING (binary_expression)

Remarks

TO_BITSTRING returns a VARCHAR that represents the given VARBINARY value in bitstring format.