Skip to content

SHOW CHARSET

The SHOW CHARSET statement shows the available character sets.

Currently available types are utf8 and utf8mb4. The default charset type is utf8. Nebula Graph extends the uft8 to support four-byte characters. Therefore utf8 and utf8mb4 are equivalent.

Syntax

SHOW CHARSET;

Example

nebula> SHOW CHARSET;
+---------+-----------------+-------------------+--------+
| Charset | Description     | Default collation | Maxlen |
+---------+-----------------+-------------------+--------+
| "utf8"  | "UTF-8 Unicode" | "utf8_bin"        | 4      |
+---------+-----------------+-------------------+--------+

| Parameter | Description | |---------------------+--------------------------------------------------------------| | Charset | The name of the character set. | | Description | The description of the character set. | | Default collation | The default collation of the character set. | | Maxlen | The maximum number of bytes required to store one character. |


Last update: November 1, 2021
Back to top