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


====== LEN Function - PL/HQL Reference====== LEN function returns the length of the specified string expression in characters, **excluding** the trailing blanks. **Syntax**: <code language="sql"> LEN(string_expression); </code> **Return Data Type:** STRING **Example:** <code language="sql"> LEN('Abc '); --- 3 </code> **Compatibility**: Microsoft SQL Server **Version**: PL/HQL 0.03 See also: * [[length|LENGTH]]