LEN

Description

Returns the length of a string (LEN in Transact-SQL).

Sample Source Pattern

Syntax

LEN( string_expression )

Examples

Code:

SELECT LEN('Sample text') AS [LEN]

Output:

LEN|
---+
 11|

Last updated