## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> BASE64_DECODE[BASE64_DECODE]:::quoted
BASE64_DECODE --> End((END))
```
## Purpose
The `BASE64_DECODE` SQL function converts the base64_encoded value back to the binairy value as defined on <a href="https://en.wikipedia.org/wiki/Base64">Wikipedia</a>.
Parameters:
- Input: value to convert back to the original.
Returns: the input decoded back to the binairy value.