cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Community Champion
Community Champion

error when merging tables

Any help on this particular error? I don't sql. 

DataSource.Error: Microsoft SQL: Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_100_CS_AS" in the equal to operation.
Details:
DataSourceKind=SQL
DataSourcePath=kt-sql01;RptViews
Message=Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_100_CS_AS" in the equal to operation.
Number=468
Class=16



Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: error when merging tables

@kcantor This error is common sql database issue when joining different objects for which you cant change collation type. Use either of below queries to overcome collation issue. 

 

Select * from A join B on A.text = B.text COLLATE Latin1_General_CI_AS

 

or

 

Select * from A join B on A.text = B.text COLLATE DATABASE_DEFAULT

 

View solution in original post

Highlighted
Community Champion
Community Champion

Re: error when merging tables

Simple work around is to add an index column.



Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




View solution in original post

2 REPLIES 2
Highlighted
Community Champion
Community Champion

Re: error when merging tables

@kcantor This error is common sql database issue when joining different objects for which you cant change collation type. Use either of below queries to overcome collation issue. 

 

Select * from A join B on A.text = B.text COLLATE Latin1_General_CI_AS

 

or

 

Select * from A join B on A.text = B.text COLLATE DATABASE_DEFAULT

 

View solution in original post

Highlighted
Community Champion
Community Champion

Re: error when merging tables

Simple work around is to add an index column.



Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors