sql Msg 468

Msg 468, Level 16, State 9, Line 11
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AS" in the equal to operation.

 

原因:

数据库中的varchar排序规则不同,如果是数字类型的就没有问题。

 

解决办法:

点击两个数据库的属性,看里面的Collation是否一样

可在在join条件后面加上collate database_default

posted @ 2012-09-25 11:52  fycaijing  阅读(464)  评论(0编辑  收藏  举报