Skip to main content
Version: 0.0.1

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

{{< codeheader "CHR example" >}}

SELECT CHR(72)
-- H

{{< codeheader "CHR example" >}}

SELECT CHR(33)
-- None