Give an example of Len function.

 Posted by Rajesh_Kumar on 1/21/2014 | Category: Sql Server Interview questions | Views: 968 | Points: 40
Answer:

Declare @name nvarchar(50);

Set @name = 'RajeshKumarSathua';
Select Len(@name) as 'Name_length';


Output would be:17


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response