LENGTH()

Description

The length() function returns the length of the string.

Syntax

1. > LENGTH(str)

Arguments

Arguments Description
str Required. String you want to calculate.

Examples

1. > select a,length(a) from t1;

3. a   length(a)
4. a       1
5. ab      2
6. abc     3

Constraints

Currently, MatrixOne doesn’t support select function() without from tables.