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


====== CONCAT Function - PL/HQL Reference====== CONCAT function concatenates two or more strings. **Syntax**: <code language="sql"> CONCAT(expr, expr2 [, expr3, ...]); </code> **Notes**: * If an expression evaluates to NULL it is treated as an empty string * CONCAT returns NULL only if all expressions evaluate to NULL **Return Type:** STRING **Example:** <code language="sql"> CONCAT('a', 'b', NULL, 'c'); </code> Result: abc **Compatibility**: Oracle, IBM DB2, Teradata, Microsoft SQL Server, PostgreSQL, MySQL and Netezza **Version**: PL/HQL 0.3.1 See also: * [[twopipes||| Operator]]