Nvarchar or varchar what is better use multiply of 2 or rounded full numbers?

后端 未结 5 986
情话喂你
情话喂你 2021-01-07 23:24

My question is what is better to use in generating columns in SQL. Should the size of nvarchar (varchar) be multiply of 2 (32, 64, 128) or it\'s doesn\'t matter and we can u

5条回答
  •  被撕碎了的回忆
    2021-01-07 23:40

    I vote that it does not matter. Pick what makes the most sense for your application. Use human readable values. Pick nice names for variables and columns. Only in really extreme cases will you need to tune. When you find out that you need to tune, tune. Until then, go with whatever makes the most sense from a business or human perspective.

提交回复
热议问题