dbTalk Databases Forums  

DTS database copy collation problem

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS database copy collation problem in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Adrian
 
Posts: n/a

Default DTS database copy collation problem - 06-01-2005 , 05:36 AM






Hi
I am having a problem with collation order mismatch when copying a set
of tables from one server to another. Each night I copy the live
database to a reporting server using a simple dts job that drops all the
tables and then rebuilds them and copies the data over - nice and simple
and has worked for the last two years.
I have built a new SQL 2000 server and set the collation order to
Latin1_General_CI_AS, this is the same as my other primary server,
except that the other server was upgraded from SQL 7 and it's collation
order is SQL_Latin1_General_CP1_CI_AS.
Now despite attempting to match the orders I cannot get the text to be
the same (although this should not make a difference since the real
collation order is the same), this is causing some of my applications to
fail as when performing some compares against a table created in
tempdb the system fails with a collation mismatch problem.
What happens is that the dts job keeps the original collation order on
the char and varchar columns, I have tried to modify the dts job so that
it ignores collation but haven't had any luck. So I'm hoping that
someone could give me some pointers?
I can of course copy over the data and then do an alter table script and
modify each column but I'd rather keep the dts job as simple as possible.
I have already rebuilt the new server with a number of different
collation orders to get it to match but I have the same issues each
time, I find it annoying that the collation compare is so stringent
since they are clearly the same collation order, only the text is different.

Any help would be appreciated.

Adrian Donlan

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.