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

后端 未结 5 984
情话喂你
情话喂你 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:33

    There's no benefit in having size of (N)VARCHAR columns be a power of 2. Use whatever is suitable for your domain model.

提交回复
热议问题