CHR

All functions > STRING > CHR

Converts a Unicode code point to its corresponding character.

Syntax

CHR(expr)
sql

Arguments

ParameterTypeRequiredDescription
code_pointBIGINTYesA BIGINT representing the Unicode code point

Returns

The character corresponding to the code point

Notes

  • Valid code points range from 0 to 1114111 (0x10FFFF)
  • Returns NULL if the input is NULL
  • Invalid code points may result in an error or undefined behavior
  • This is the inverse operation of CODEPOINT

Examples

Last update at: 2025/12/05 16:03:14
Last updated: 2025-12-05 16:07:55