Length

String Function

Description

Returns the number of characters in the string.

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

The function Length() is supported on Snowflake.

Grammar Syntax

LENGTH(<string>)

Sample Source Patterns

PostgreSQL

SELECT LENGTH('1234567890');

Snowflake

SELECT LENGTH('1234567890');

Last updated