The ASCII() function _mysql
by Mohan[ Edit ] 2012-09-22 12:36:40
The ASCII() function allows you to identify the numeric value of the first character in a string.
mysql>
mysql>
mysql> SELECT ASCII('book');
+---------------+
| ASCII('book') |
+---------------+
| 98 |
+---------------+
1 row in set (0.00 sec)
mysql>