Len() function in SQL Server

Saranya Boopathi
Posted by Saranya Boopathi under Sql Server category on | Points: 40 | Views : 845
declare @a char(20), @b char(20), @c char(20)
set @a = 'abc'
set @b = ' abfhfhh'
set @c = 'ab df '
select LEN(@a), LEN(@b), LEN(@c)

Comments or Responses

Login to post response