Collation conflict between “SQL_Latin1_General_CP1_CI_AS” and “Modern_Spanish_CI_AS” in the equal to operation
问题 I was creating this SQL function from SQL SERVER 2008 R2 to WINDOWS AZURE, but I don't how to resolve this problem. Msg 468, Level 16, State 9, Procedure GetObjectivesByTest, Line 69 Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Modern_Spanish_CI_AS" in the equal to operation. CREATE FUNCTION [dbo].[GetObjectivesByTest](@testId smallint) RETURNS @res TABLE ( -- Add the column definitions for the TABLE variable here ObjectiveId smallint NOT NULL, Name