## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart LR Start((START)) --> REVERSE[REVERSE]:::quoted REVERSE --> End((END)) ``` ## Purpose The `REVERSE` SQL function flips the input around. Parameters: - Input (`varchar2`): text to flip around. Returns: the text with its characters in reversed order. ## Examples The following example reverses the text `abc`: ```sql select reverse('abc') ------------------- cba ``` The following example reverses a reversed text, returning the original input: ```sql select reverse(reverse('abc')) ------------------- abc ```