Skip to main content
Version: current [24.3.x]

CHR

Categories: String

CHR

Converts a Unicode code point into the character that matches the input Unicode character. If an invalid code point is specified, an empty string is returned.

Syntax

CHR(integer_expression int32) → varchar

  • integer_expression: Unicode code point to convert to character.

Examples

CHR example
SELECT CHR(72)
-- H
CHR example
SELECT CHR(33)
-- null