## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> | | RANDOM_TEXT[RANDOM_TEXT]:::quoted
RANDOM_TEXT --> End((END))
```
## Purpose
The `RANDOM_TEXT` SQL function generates a text with pseudo-random values taken from a list of possible characters.
Parameters:
- Length: Produce a text with this length in terms of characters.
- candidates: List of characters to choose from. The same character may appear multiple times.
Returns: A text with pseudo-random values.