## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart LR Start((START)) --> RTRIM[RTRIM]:::quoted RTRIM --> End((END)) ``` ## Purpose The `RTRIM` SQL function trims characters from the right side of a string. Parameters: - Input: the string from which to trim characters from the right side. - (Optional) Characters to trim: the character to trim. Default is " ". Returns: A string with characters trimmed from the right.