Skip to content

Return the character for each integer passed.

func.char(N,...)
func.char(77,121,83,81,76)
┌─────────────────────────────┐
│ func.char(77,121,83,81,76) │
├─────────────────────────────┤
4D7953514C
└─────────────────────────────┘
CHAR(N, ...)
ArgumentsDescription
NNumeric Column

BINARY

This example shows both the binary value returned as well as the string representation.

SELECT CHAR(77,121,83,81,76) as a, a::String;
┌────────────────────────┐
│ a │ a::string │
Binary │ String │
├────────────┼───────────┤
│ 4D7953514C │ MySQL │
└────────────────────────┘