Syntax

<ordinal function> ::=


Notes

The ORD function returns the ordinal value of the character passed by the argument.
The data type of the result is INTEGER.
If the argument is null, then the result is null.


Examples

Expression

Result

ORD('A')

65

ORD('a')

97

ORD('5')

53


Conformance

NexusDB extensions

-

ORD function

Home | Site Contents | Documentation | NexusDB Manual V4 | SQL Reference | SQL Functions | Numeric Value Functions