User Tools

Site Tools

A PCRE internal error occured. This might be caused by a faulty plugin

Sidebar

**HPL/SQL is included to Apache Hive since version 2.0** * [[home|Home]]\\ * [[why|Why HPL/SQL]]\\ * [[features|Key Features]]\\ * [[start|Get Started]]\\ * [[doc|HPL/SQL Reference]]\\ * [[download|Download]]\\ * [[new|What's New]]\\ * [[about|About]]

to-char

====== 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]]