User Tools

Site Tools


Sidebar

HPL/SQL is included to Apache Hive since version 2.0

to-char

TO_CHAR Function - PL/HQL Reference

TO_CHAR function converts an expression to string.

Syntax:

TO_CHAR(expression); 

Return Type:

STRING

Example:

TO_CHAR(CURRENT_DATE); 

Compatibility: Oracle, IBM DB2 and Teradata

Version: PL/HQL 0.3.1

See also: