Converts an input base64 value to text. Output type is String.


Column reference example:

base64decode(mySource)

Output: Decodes the base64 values from the mySource column into text. 

String literal example:

base64decode('GVsbG8sIFdvcmxkLiA=')

Output: Decodes the input value to the following text: Hello, World.

base64decode(column_string)


ArgumentRequired?Data TypeDescription
column_stringYstringName of the column or string literal to be applied to the function

column_string

Name of the column or string constant to be converted.

Required?Data TypeExample Value
YesString literal or column referencemyColumn


Example - base64 encoding and decoding