Skip to main content
Version: Latest-3.5

char

CHAR() returns the character value of the given integer value according to the ASCII table.

Syntax​

char(n)

Parameters​

  • n: integer value

Return value​

Returns a VARCHAR value.

Examples​

> select char(77);
+----------+
| char(77) |
+----------+
| M |
+----------+

keyword​

CHAR