Note:Use of this function results in code that is not portable between ASCII- and EBCDIC-based machine architectures.
A text value. For single-byte character sets, if
> 256, the function returns the binary equivalent of
MOD 256. For multibyte character sets,
number must resolve to one entire code point. Invalid code points are not validated, and the result of specifying invalid code points is indeterminate.
CHR(number [ USING NCHAR_CS ])
An integer value, or any value that can be implicitly converted to an integer value.
Specifies that the function returns the value in the national character set. When you do not specify this clause, the function returns the value in the database character set.