SQL Server默认字符编码 [英] SQL Server default character encoding

查看:170
本文介绍了SQL Server默认字符编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,什么是Microsoft SQL Server中的数据库的字符编码集?

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

如何查看SQL Server中当前的字符编码?

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

推荐答案

如果您需要知道新创建的数据库的默认排序规则,请使用:

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

SELECT SERVERPROPERTY('Collat​​ion')

这是您所在的SQL Server实例的服务器排序规则

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

这篇关于SQL Server默认字符编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆