LENGTH()

Description

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

Syntax

  1. > LENGTH(str)

Arguments

ArgumentsDescription
strRequired. String you want to calculate.

Examples

  1. > select a,length(a) from t1;
  2. a length(a)
  3. a 1
  4. ab 2
  5. abc 3

Constraints

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