Navigation:  NexusDB Guide > SQL Reference > SQL Functions > Numeric Value Functions >

Ordinal Function

Previous pageReturn to chapter overviewNext page

NexusDB V3 Manual

Ordinal Function

button_main button_prev button_next

NexusDB Manual V3 > SQL Reference > SQL Functions > Numeric Value Functions

Syntax

 

<ordinal function> ::=

 

 

 

ORD ( <character value expression> )

 

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.

nexus_logo