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