SQL Server default character encoding

后端 未结 6 1012
耶瑟儿~
耶瑟儿~ 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:40

    You can see collation settings for each table like the following code:

    SELECT t.name TableName, c.name ColumnName, collation_name  
    FROM sys.columns c  
    INNER JOIN sys.tables t on c.object_id = t.object_id where t.name = 'name of table';
    

提交回复
热议问题