description |
---|
Converts the input expression to a binary value. |
- expression: Varchar expression to convert to binary.
Examples
{% code title="BINARY_STRING example" %}
SELECT BINARY_STRING('SPICE')
-- RFJFTUlP
{% endcode %}
{% code title="BINARY_STRING example" %}
SELECT BINARY_STRING('000')
-- MDAw
{% endcode %}