SQL 2008 LEN Function
In this article i will explain how to use the LEN string function.
Introduction
LEN() is a string function and returns number of character in a specified string expression.
Syntax
select LEN(column_name) from table_name
|
Example
Suppose we have table named Employee as.
To select the length of the values in the "F_Name" column.
To returns number of characters in a string "Example Of LEN Function".