Error encountered:
Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.
I'm not sure if it's as convenient with the earlier versions but SQL Server 2008 allows you to easily change the collation of your database through the Properties window.
The first thing you would have to do is to drop all connections to the database. This can be easily done by right clicking on you database --> Tasks --> "Detach..." then tick the "Drop all connections" check box.
Then simply restore the database using your back up file (it's usually the same name as your database with a .bak file extension).
Now you're sure no one is initially connected to the database.
Right click on the database --> Properties --> Options then on the top is a drop down for the Collation options. We generally choose "SQL_Latin1_General_CP1_CI_AS".
3 comments:
I feel SQL and SSIS are the most useful components and tools which help people to solve out and make a base for solving complex IT problems.
SSIS Upsert
Post a Comment