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

ascii

説明​

この関数は、指定された文字列の最初の文字のascii値を返します。

構文​

INT ascii(VARCHAR str)

例​

MySQL > select ascii('1');
+------------+
| ascii('1') |
+------------+
| 49 |
+------------+

MySQL > select ascii('234');
+--------------+
| ascii('234') |
+--------------+
| 50 |
+--------------+

キーワード​

ASCII

Rocky the happy otterStarRocks Assistant

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