In MariaDB, CHR()
is a built-in string function that returns a character based on the code values provided as an argument.
Category: MariaDB
How ORD() Works in MariaDB
In MariaDB, ORD()
is a built-in string function that returns the numeric character code of the leftmost character of its string argument.
The ORD()
function can handle multi-byte characters. This is in contrast to the ASCII()
function, which only handles single-byte (8 bit) characters.
How ASCII() Works in MariaDB
In MariaDB, ASCII()
is a built-in string function that returns the numeric ASCII value of the leftmost character of its string argument.
The ASCII()
function only works on 8 bit characters. To get the code for multi-byte characters, use the ORD()
function instead.
Install MariaDB on a Mac
Here’s how to install MariaDB on a Mac via the Homebrew package manager.
Continue reading