ORD: returns the code for the leftmost character of the argument : ORD « String Functions « MySQL Tutorial






mysql>
mysql>
mysql>
mysql> SELECT ORD('2');
+----------+
| ORD('2') |
+----------+
|       50 |
+----------+
1 row in set (0.00 sec)

mysql>








23.29.ORD
23.29.1.ORD: returns the code for the leftmost character of the argument
23.29.2.Get the ORD of the first name