Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS Info to new server

Status
Not open for further replies.

Luvsql

Technical User
Apr 3, 2003
1,179
CA
I am testing the DTS process for transferring our GP data to a new server, in order to change the collation from binary to DOCI. I have tried their recommended bcp process, but it's way too combersume and too many steps.

I have recreated all our databases onto the new server, on the DOCI sort order. I have installed GP and logged into each company and installed all third parties sp and tables etc. I then truncated all tables in all databases.

I DTS's one database as a test (went pretty quick), but it failed on a few databases due to "Violation of primary key" on a few tables. The first one is the CM20300 table. NOne of the keys on this table, that are char or text, are case sensitive Ie the key values are either generated by GP or the ID fields are forced uppercase by the application.

I tried one of our bigger databases and even more failed due to primary key violations.

My question is, how are primary key violation values in the table, if SQL does not allow it? Is there any maintenance we can run to check for these duplicate values in all tables?
 
I would suggest rather than truncating all the tables and populating them again, take a backup of your old database and restore it on the new database. I guess it would leave the sort order the same of the New database.
 
My whole point of doing this is to change the sort order. If I restore from a backup, it restores the original sort order.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top