Update - collation diffrences

  • Hi All

    I was wondering what would be the easiest way run a UPDATE statement on a column where the collation of database is diffrent to that of the server. I'm using SQL 2005 with sql 2000 compatibility.

  • One quick and dirty method that I have used before is to copy all the data that you are updating from to a temporary table that has the correct collation that you need.  Then do your update from the Temporary table. 

    I would have thought there was a better method than this though, it's fine if it is only one or two places, but it could be a big overhead if it occurs lots of times.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply