SQL Server default character encoding

后端 未结 6 1029
耶瑟儿~
耶瑟儿~ 2020-11-28 08:11

By default - what is the character encoding set for a database in Microsoft SQL Server?

How can I see the current character encoding in SQL Server?

6条回答
  •  猫巷女王i
    2020-11-28 08:32

    I think this is worthy of a separate answer: although internally unicode data is stored as UTF-16 in Sql Server this is the Little Endian flavour, so if you're calling the database from an external system, you probably need to specify UTF-16LE.

提交回复
热议问题