Mega Code Archive

 
Categories / MSSQL / String Functions
 

LEN(@Value)

1> DECLARE @Value nVarChar(20) 2> SET @Value = 'abc' 3> 4> SELECT LEN(@Value) 5> GO -----------           3 (1 rows affected) 1>