Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_100_CI_AS" in the equal to operation.

时间:2022-03-02 10:20:07

ErrorMessage

Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_100_CI_AS" in the equal to operation.

查看SQL Server的Collation

SELECT SERVERPROPERTY ('Collation')

Solution

1. 在安装SQL Server的时候Collation都选择Latin1_General(拉丁,不带100的那个)

2. 如果已经安装了SQL Server的话,那就在Database的属性下修改吧

Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_100_CI_AS" in the equal to operation.