Skip to main content

Categories: String, Binary

BASE64

Returns the Base64 encoding of a binary string.

Syntax

BASE64(expression varbinary) → varchar

  • expression: The string to encode.

Examples

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