chr
function
Applies to: Databricks SQL
Databricks Runtime
Returns the character at the supplied UTF-16 code point. This function is a synonym for char function.
Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clauseUpdated Feb 14, 2025
chr
function Applies to: Databricks SQL
Databricks Runtime
Returns the character at the supplied UTF-16 code point. This function is a synonym for char function.
The result type is STRING.
If the argument is less than 0, an empty string is returned.
If the argument is larger than 255
, it is treated as modulo 256.
This implies char
covers the ASCII and Latin-1 Supplement range of UTF-16.