LEN (Transact-SQL)
SQL Server 2008 R2
Returns the number of characters of the specified string expression, excluding trailing blanks.
Note |
|---|
To return the number of bytes used to represent an expression, use the DATALENGTH function. |

Note