Converts an input base64 value to text. Output type is String. |
Typically, base64 is used to transmit binary information, such as images, over transfer methods that use text, such as HTTP.
NOTE: base64 is not an effective method of encryption. |
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) |
Argument | Required? | Data Type | Description |
---|---|---|---|
column_string | Y | string | Name of the column or string literal to be applied to the function |
Name of the column or string constant to be converted.
'Hello, World'
).
Required? | Data Type | Example Value |
---|---|---|
Yes | String literal or column reference | myColumn |