to-char

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

to-char [2015/09/23 20:27] (current)
Line 1: Line 1:
 +====== TO_CHAR Function - PL/HQL Reference======
 +
 +TO_CHAR function converts an expression to string.
 +
 +**Syntax**:
 +
 +<code language="​sql">​
 +TO_CHAR(expression); ​
 +</​code>​
 +
 +**Return Type:**
 +
 +STRING
 +
 +**Example:​**
 +
 +<code language="​sql">​
 +TO_CHAR(CURRENT_DATE); ​
 +</​code> ​
 +
 +**Compatibility**:​ Oracle, IBM DB2 and Teradata
 +
 +**Version**:​ PL/HQL 0.3.1
 +
 +See also:
 +  * [[char|CHAR Function]]