Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

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

$
0
0

I've imported databases from Sql 2005 to Sql 2012. 

I'm getting a Collation Conflict. 
On the old server when i run "select databasepropertyex('tempdb','collation')" as a query I find that it's SQL_Latin1_General_CP1_CI_AS

On the new server it's 
Latin1_General_CI_AS

is there any way to force the temp database to change to SQL_Latin1_General_CP1_CI_AS so there is no conflict. 

I have tried executing

alter database [tempdb] collate SQL_Latin1_General_CP1_CI_AS 

however i get an error saying

Cannot alter the database 'tempdb' because it is a system database.

is there any way around this without a full uninstall/rebuild of the database ??


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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