LEN (Transact-SQL)
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. |
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. |
Is the string expression to be evaluated. string_expression can be a constant, variable, or column of either character or binary data.
Note