ORD() FUNCTION in MySQL

ORD() FUNCTION The MySQL ORD function is used to get the code for the specified string.

Syntax:

ORD (string);

Parameters: string: It is used to specify the string to evaluate.

Example:

mysql> SELECT ORD (‘mysql’);

Output:

109

Explanation: The result is the code of the specified string.

Please follow and like us:
Content Protection by DMCA.com