不同表格上的不同排序规则

时间:2015-11-03 06:48:15

标签: sql sql-server collation

我有一张表(table1),其中包含整理 Latin1_General_CP1_CI_AS 。我编写了一个过程,它将为表中新插入的数据创建插入脚本(table1)。我正在使用此脚本在具有相同结构但不同归类 SQL_Latin1_General_CP1_CI_AS 的其他表(table2)中插入数据。直到现在它的工作正常。我想知道它将来会产生任何问题。如果是,那么,在什么情况下。

1 个答案:

答案 0 :(得分:0)

Collation affects only how data are sorted and compared。因此它不会导致插入任何问题。但它可能导致problems when comparing the column values of the two tables。对于多语言数据,请考虑使用nvarchar vs varchar

相关问题