Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

Collation related error

$
0
0

Hi all,

I'm getting the following error running an SP in the database:

Msg 468, Level 16, State 9, Procedure BuildRank, Line 96
Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
1999
2008
Msg 468, Level 16, State 9, Procedure sp_EFA5Data, Line 329
Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.
Msg 468, Level 16, State 9, Procedure EnrolmentRatios, Line 65
Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.
Msg 207, Level 16, State 1, Procedure EnrolmentRatios, Line 65
Invalid column name 'edLevelCode'.
Msg 207, Level 16, State 1, Procedure EnrolmentRatios, Line 65
Invalid column name 'edLevelCode'.
Warning: Null value is eliminated by an aggregate or other SET operation.
Msg 468, Level 16, State 9, Procedure PupilClassroomRatio, Line 124
Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
Msg 468, Level 16, State 9, Procedure ReconstructedCohort2, Line 168
Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the UNION operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
Warning: Null value is eliminated by an aggregate or other SET operation.
Msg 468, Level 16, State 9, Procedure PupilTextBookRatio, Line 200
Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.

the select @@version for me returns:

Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (Intel X86)   Jun 17 2011 00:57:23   Copyright (c) Microsoft Corporation  Express Edition with Advanced Services on Windows NT 6.1 <X86> (Build 7600: ) 

on the other hand, a friend has the same db restored on his machine running the same SP works fine for him, hisselect @@version returns the following:

Microsoft SQL Server 2008 R2 (SP1) - 10.50.2550.0 (X64) Jun 11 2012 16:41:53 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)  

i checked and matched the Collation settings, right-click db and clicked Properties, Options tab, and the Collation, Recovery Model, and Compatibility level, are all same on both machines.

Does my db has something missing or what? Thanks.


Ab


Viewing all articles
Browse latest Browse all 12554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>