I'm trying to store a string of 50478 characters length in a nvarchar(max) database field. According to this link, it tells that a nvarchar(max) field can store up to 1 billion characters, but when I tried to store just 50478 characters sql truncates them and doesn't store the full string.
How to solve such a problem?
Do you think that this is just a printing problem with sql server management studio?