User Tools

Site Tools

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


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


====== CHAR Function - PL/HQL Reference====== CHAR function converts a number to string. **Syntax**: <code language="sql"> CHAR(num_expression); </code> **Return Type:** STRING **Example 1:** <code language="sql"> CHAR(1000); -- 1000 </code> **Compatibility**: IBM DB2 **Version**: PL/HQL 0.03 See also: * [[to-char|TO_CHAR Function]]