Hello
I am using SQL Server 2000
I have looked around at various posts regarding this problem
Basically, I have 2 databases 1 internal (MDW) with Collation set to SQL_Latin_General_CP1_CI_AS - which I believe to be the default setting
The other database has come from an external source and has been uploaded into the SQL environment
This is called cts_paperco_export and has collation set to Latin1_General_CI_AS
Initially when using the code:
This returned Cannot resolve collation conflict for equal to operation
So I amended the collation using:
Properties for the database suggest this amendment took place
It still returns Cannot resolve collation conflict for equal to operation when I run the insert statemant
Anybody got any thoughts?
Thanks
Damian.
I am using SQL Server 2000
I have looked around at various posts regarding this problem
Basically, I have 2 databases 1 internal (MDW) with Collation set to SQL_Latin_General_CP1_CI_AS - which I believe to be the default setting
The other database has come from an external source and has been uploaded into the SQL environment
This is called cts_paperco_export and has collation set to Latin1_General_CI_AS
Initially when using the code:
Code:
insert into EPM_PRODUCT
select distinct st001.product, st001.[description], st001.[analysis gp],
null, null, null, null, null, null, null from CTS_PaperCo_Export.dbo.st001_ns_product_data st001
left outer join EPM_PRODUCT epm on (st001.product = epm.PRODUCT_CODE and st001.[analysis gp] = epm.PRODUCT_DESC)
where st001.[analysis gp] is not null
and st001.[file] = 'north'
and epm.PRODUCT_CODE is null
This returned Cannot resolve collation conflict for equal to operation
So I amended the collation using:
Code:
use master
go
alter database cts_paperco_export
collate SQL_Latin1_General_CP1_CI_AS
Properties for the database suggest this amendment took place
It still returns Cannot resolve collation conflict for equal to operation when I run the insert statemant
Anybody got any thoughts?
Thanks
Damian.