Skip to main content
Version: Latest-3.3

char

Description

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