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

Tostring Function

Previous pageReturn to chapter overviewNext page

NexusDB V3 Manual

Tostring Function

button_main button_prev button_next

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

Syntax

 

<tostring function> ::=

 

 

 

TOSTRING ( <value expression> )

 

Notes

 

§

The TOSTRING function returns a text representation of the argument.

 

§

The data type of the result is CHARACTER.

 

§

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

 

 

Examples

 

1)

The following example converts the studentID column to a character string:

 

      SELECT studentName, TOSTRING( studentID ) AS student_code

      FROM students

      ORDER BY student_code

 

 


Conformance

 

NexusDB extensions

-

TOSTRING function

 

© Nexus Database Systems Pty Ltd.

nexus_logo