List of expression elements / Character string operators |
The ORD() operator returns the code point of a character in the current locale.
ORD( source STRING )
The value returned by ORD() is the code point in the current locale of the character passed as argument.
Only the first character of the argument is evaluated.
When using UTF-8, the ORD() operator returns the UNICODE code point of the character.
ORD returns NULL if the argument passed is not valid.
For ASCII characters, ORD() is the logical inverse of the ASCII() operator.