User Tools

Site Tools


Sidebar

HPL/SQL is included to Apache Hive since version 2.0

length

LENGTH Function - PL/HQL Reference

LENGTH function returns the length of the specified string expression in characters.

Syntax:

LENGTH(string_expression); 

Return Data Type:

STRING

Example:

LENGTH('Abc ');
---
4

Compatibility: Oracle, IBM DB2, Teradata, PostgreSQL, MySQL and Netezza

Version: PL/HQL 0.03

See also: