Friends, i have 2 dbs (db1 and db2). I need to copy the sum of points from player column to score with the following query:update db1.dbo.player_info set score=sum(db2.dbo.player.points) where player_id=db2.dbo.player.member_id
I've tried this one:update db1.dbo.player_info set score =(select sum(points)FROM db2.dbo.player)WHERE player_id = (select member_idFROM db2.dbo.player)
but it gives me an errorMsg 468, Level 16, State 9, Line 1Cannot resolve the collation conflict between "Chinese_PRC_CI_AS" and "SQL_Latin1_General_CP1_CS_AS" in the equal to operation.
I've also tried this two:update db1.dbo.player_info set score =(select sum(points) collate Chinese_PRC_CI_ASFROM db2.dbo.player)WHERE player_id = (select member_idFROM db2.dbo.player)
...update db1.dbo.player_info set score =(select sum(points) collate SQL_Latin1_General_CP1_CS_ASFROM db2.dbo.player)WHERE player_id = (select member_idFROM db2.dbo.player)
but it gives me the same error.