BASE64

Returns the Base64 encoding of a binary string.

Syntax

BASE64(expression varbinary) → varchar

  • expression: The string to encode.

Examples

BASE64 example
SELECT BASE64('Spice')
-- RHJlbWlv

Last updated