LENGTH()
Function Description
The length() function returns the length of the string.
Function Syntax
> LENGTH(str)
Parameter definition
| Parameters | Description |
|---|---|
| str | Required parameter, string to calculate length |
Example
> select a,length(a) from t1;
a length(a)
a 1
ab 2
abc 3