• About size of nvarchar(max)

    I tried this:

    declare @C nvarchar(max)

    set @C = N'hello' + replicate('-',8000)

    print len(@c)

    the result was still 4000. Can someone explain why it wasn't more since nvarchar(max) can accept more then 4000