NexusDB V3 Manual
Ordinal Function
|
|
NexusDB Manual V3 > SQL Reference > SQL Functions > Numeric Value Functions
|
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
|
|
© Nexus Database Systems Pty Ltd.