## Function Information **Function Name**: `ORD` **Category**: string ## MySQL Function Description MySQL ORD function: ORD(str) - If the leftmost character of the string str is a multibyte character, returns the code for that character. ## Expected Behavior Expected behavior: According to MySQL documentation, the function should return correct results. ## Current Behavior in MatrixOne This function is not implemented in MatrixOne. **Error Message**: `(20105, "not supported: function or operator 'ord'")` ## Test Case ```sql SELECT ORD('A') AS result1 ``` ## MySQL Documentation - [MySQL Official Documentation](https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_ord) ## Request Please implement the `ORD` function to improve MySQL compatibility.
Activity
fengttt commentedon Nov 21, 2025
dup #22941