## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> TRANSLATE[TRANSLATE]:::quoted
TRANSLATE --> End((END))
```
## Purpose
The `TRANSLATE` SQL function replaces all occurrences of each character in `from_string` to its corresponding character in `to_string`.
Parameters:
- `input`: The string to replace a sequence of characters with another set of characters.
- `from_string`: The string that will be searched for in the input.
- `to_string`: All characters in the `from_string` will be replaced with the corresponding character in the `to_string`.
Returns: the input with all occurrences of each character in `from_string` replaced by its corresponding character in `to_string`.