SQL Server default character encoding

后端 未结 6 1028
耶瑟儿~
耶瑟儿~ 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条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-28 08:33

    If you need to know the default collation for a newly created database use:

    SELECT SERVERPROPERTY('Collation')

    This is the server collation for the SQL Server instance that you are running.

提交回复
热议问题