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