len()

Number of characters in string.

Reference: DuckDB 1.3.2

Alias of length()

Arguments & returns

3 overloads

len(string)

Scalar
Overload link string Returns
#01 ANY[] BIGINT
#02 BIT BIGINT
#03 VARCHAR BIGINT
len example
SQL
Haybarn WASM 2.0.0-rc12 Β· In your browser

Engine example Β· Run to view results.

More examples

len example 2
SQL
Haybarn WASM 2.0.0-rc12 Β· In your browser

Engine example Β· Run to view results.

len example 3
SQL
Haybarn WASM 2.0.0-rc12 Β· In your browser

Engine example Β· Run to view results.