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

Char Function

Previous pageReturn to chapter overviewNext page

NexusDB V3 Manual

Char Function

button_main button_prev button_next

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

Syntax

 

<char function> ::=

 

 

 

CHR ( <numeric value expression> )

 

Notes

 

§

The CHR function returns a character corresponding to the value of the argument.

 

§

The argument shall be within the range 1..255.

 

§

If the argument is null, then the result is null.

 

 

Examples

 

1)

The following example selects all customer rows with a CR/LF pair in the Memo column:

 

      SELECT *

      FROM customers

      WHERE memo LIKE '%' || CHR( 13 ) || CHR( 10 ) || '%'

 

 


Conformance

 

NexusDB extensions

-

CHR function

 

© Nexus Database Systems Pty Ltd.

nexus_logo