Hi All, What is the recommendation for having column like nvarchar(max) ? what should I put in the Length value in the designer when creating Entities nvarchar(max) ? 2147483647 maybe ? Best Regards, Yordan |
Hi Stelt0 If you put in the
|
nvachar(42) :-) you are joking, right ? 1
yes: https://de.wikipedia.org/wiki/42_(Antwort) but to really answer the question: you have to estimate the maximum length that will ever be used for that field. But that depends on your domain and can not be answered without knowledge about it. Choosing the maximum possible length will worsen your db performance. |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 24.08.2016 at 16:31
Seen: 4,857 times
Last updated: 30.08.2016 at 01:48