Files
doris/docs/documentation/en/sql-reference/sql-functions/string-functions/ascii_EN.md
2019-08-30 22:07:24 +08:00

405 B

ASCII

Description

Syntax

'INT AXES (WARCHAR STR)'

Returns the ASCII code corresponding to the first character of the string

example

mysql > select ascii ('1');
+------------+
124; ASCII ('1') 124;
+------------+
|         49 |
+------------+

mysql > select axes ('234');
+--------------+
124; ASCII ('234') 124;
+--------------+
|           50 |
+--------------+

##keyword ASCII