Skip to content

MySQL function not implemented: ORD #22997

Closed

Description

@dengn

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

SELECT ORD('A') AS result1

MySQL Documentation

Request

Please implement the ORD function to improve MySQL compatibility.

Activity

  1. fengttt commented on Nov 21, 2025

    @fengttt
    Contributor

    dup #22941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions