BASE64_DECODE_STRING

functionsupportedCore SQL functions

docs.snowflake.com ↗

String & binary functions

Decodes a Base64-encoded string to a string.

Syntax

supportedpartialnot supportednot scored

BASE64_DECODE_STRING( <input> [ , <alphabet> ] )

Parameters

NameRequiredDescription
inputrequiredA Base64-encoded string expression.
alphabetoptionalA string consisting of up to three ASCII characters: The first two characters in the string specify the last two characters (indexes 62 and 63) in the alphabet used to encode the input: A to Z (indexes 0-25) a to z (indexes 26-51) 0 to 9 (indexes 52-61) + and / (indexes 62, 63) Defaults: + and / The third character in the string specifies the character used for padding. Default: =

Returns

A string.

Usage notes

See also

Referenced by