メインコンテンツまでスキップ
バージョン: 3.4

char

CHAR() は、指定された整数値に対応する ASCII テーブルの文字値を返します。

構文​

char(n)

パラメータ​

  • n: 整数値

戻り値​

VARCHAR 値を返します。

例​

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

キーワード​

CHAR

Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.