CHR
Syntax
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> CHR[CHR]:::quoted
CHR --> End((END))
Start((START)) --> CHAR[CHAR]:::quoted
CHAR --> End((END))
Purpose
The CHR SQL function gets a character from the Unicode database character set specified by its numeric position.
Parameters:
- Input (
int32): a numeric value of the character in the Unicode character set.
Returns: A character from the Unicode database character set as varchar2.
Examples
The following example retrieves a backtick using the position 96:
select chr(96)
--------
`
The following example retrieves a carriage return plus linefeed:
select chr(13) || chr(10)
--------
...