Answered by:
nvarchar (max) maximum length in characters

Question
-
Hello,
I have the following field on Table:
Data nvarchar (max) null
I need to save some text and HTML markup on this field.
How many characters can I save in a field of type nvarchar (max)?
Thank you,
Miguel
Wednesday, February 1, 2012 3:58 PM
Answers
-
http://msdn.microsoft.com/en-us/library/ms186939.aspx
Thanks and regards, Rishabh , Microsoft Community Contributor- Proposed as answer by Janos BerkeMVP Wednesday, February 1, 2012 4:01 PM
- Marked as answer by MDMoura Wednesday, February 1, 2012 4:05 PM
Wednesday, February 1, 2012 4:00 PM -
It is 2^31-1 bytes :)
J
There are 10 type of people. Those who understand binary and those who do not.
My Blog
- Edited by Janos BerkeMVP Wednesday, February 1, 2012 4:02 PM
- Proposed as answer by Naomi N Wednesday, February 1, 2012 4:03 PM
- Marked as answer by MDMoura Wednesday, February 1, 2012 4:05 PM
Wednesday, February 1, 2012 4:01 PM
All replies
-
http://msdn.microsoft.com/en-us/library/ms186939.aspx
Thanks and regards, Rishabh , Microsoft Community Contributor- Proposed as answer by Janos BerkeMVP Wednesday, February 1, 2012 4:01 PM
- Marked as answer by MDMoura Wednesday, February 1, 2012 4:05 PM
Wednesday, February 1, 2012 4:00 PM -
It is 2^31-1 bytes :)
J
There are 10 type of people. Those who understand binary and those who do not.
My Blog
- Edited by Janos BerkeMVP Wednesday, February 1, 2012 4:02 PM
- Proposed as answer by Naomi N Wednesday, February 1, 2012 4:03 PM
- Marked as answer by MDMoura Wednesday, February 1, 2012 4:05 PM
Wednesday, February 1, 2012 4:01 PM -
Variable-length Unicode character data. ncan be a value from 1 through 4,000. max indicates that the maximum storage size is 2^31-1 bytes.
http://msdn.microsoft.com/en-us/library/ms186939.aspx
Thanks,
Trilok NegiWednesday, February 1, 2012 4:02 PM