Length

String Function

Description

Returns the number of characters in the string.

Click here to navigate to the PostgreSQL docs page for this syntax.

Grammar Syntax

LENGTH(<string>)

Sample Source Patterns

PostgreSQL

SELECT LENGTH('1234567890');

Snowflake

SELECT LENGTH('1234567890');

Last updated

Was this helpful?