加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

SQL Server SQL_Latin1_General_CP1_CI_AS可以安全地转换为Latin

发布时间:2020-12-12 16:14:53 所属栏目:MsSql教程 来源:网络整理
导读:我们有一个使用“SQL_Latin1_General_CP1_CI_AS”的一些(旧版)列的旧数据库,更多的更改已使用“Latin1_General_CI_AS”. 这是一个痛苦,因为连接需要额外的COLLATE语句来工作. 我想把所有的东西都拉到“Latin1_General_CI_AS”.从我可以收集到的,他们或多或少
我们有一个使用“SQL_Latin1_General_CP1_CI_AS”的一些(旧版)列的旧数据库,更多的更改已使用“Latin1_General_CI_AS”.

这是一个痛苦,因为连接需要额外的COLLATE语句来工作.

我想把所有的东西都拉到“Latin1_General_CI_AS”.从我可以收集到的,他们或多或少相同的归类,我不会丢失在这个过程中的数据…

有人知道是否是这种情况?

解决方法

MSDN论坛有更多的信息:

http://social.msdn.microsoft.com/Forums/en-US/sqlgetstarted/thread/196b4586-1338-434d-ba8c-49fa3c9bdeeb/

哪个说:

You should see little difference if the collation is SQL_Latin1_General_CP1_CI_AS or Latin1_General_CI_AS,but both have instances where they are faster or slower than the other.

Latin1_General_CI_AS :- Latin1-General,case-insensitive,accent-
sensitive,kanatype-insensitive,width-insensitive

SQL_Latin1_General_CP1_CI_AS:- Latin1-General,
accent-sensitive,width-insensitive for Unicode
Data,SQL Server Sort Order 52 on Code Page 1252 for non-Unicode Data

所以在我看来你不应该看到一个区别,特别是如果你的数据只是a-z0-9

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读