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

Tostringlen Function

Previous pageReturn to chapter overviewNext page

NexusDB V3 Manual

Tostringlen Function

button_main button_prev button_next

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

Syntax

 

<tostringlen function> ::=

 

 

 

TOSTRINGLEN ( <value expression> , max-length )

 

Notes

 

§

The TOSTRINGLEN function is equal to the TOSTRING function, except that the result is limited to the length specified by the max-length argument.

 

§

The data type of the result is CHARACTER.

 

§

If the value expression is null, then the result is null.

 

 

Examples

 

1)

The following example shows a computed column with 100 characters extracted from a BLOB column:

 

      SELECT documentID, title, TOSTRINGLEN( content, 100 ) AS hex_content

      FROM documents

      ORDER BY documentID

 

 


Conformance

 

NexusDB extensions

-

TOSTRINGLEN function

 

© Nexus Database Systems Pty Ltd.

nexus_logo