Skip to main content
Version: 24.3.x

Categories: String, Binary

UNBASE64

Decodes a Base64-encoded string.

Syntax

UNBASE64(expression varchar) → varbinary

  • expression: A Base64-encoded string.

Examples

UNBASE64 example
SELECT CAST(UNBASE64('RHJlbWlv') AS VARCHAR)
-- Dremio