📜  varchar 和 nvarchar 之间的区别 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:56.297000             🧑  作者: Mango

代码示例1
Nvarchar stores UNICODE data. If you have requirements to store UNICODE or multilingual data, nvarchar is the choice. Varchar stores ASCII data and should be your data type of choice for normal use. Regarding memory usage, nvarchar uses 2 bytes per character, whereas varchar uses 1.