dhoward007
Programmer
Has anyone ever had to drop constraints on one schema, truncate data and then move data from an identicle schema and then recreated the constraints..
My question is, is there an easy way to do something like this?? I have tried it a few times and for some reason I get some primary key constraint violation when I try this.. I tried to first drop all constraints, then truncate all of the tables on the destination database, then using DTS, I used the transfer objects and choose copy data only. I get the primary key constrain violations...
The database are 2/3 normal form and use constraints heavily.. I need to find a quick and dirty way to move data only from one database to another.. One server is Production and the other is QA..
any suggestions?? I find it hard to do this in SQL..I used to work with oracle and it seems a little easier to work with the data dictionary..
My question is, is there an easy way to do something like this?? I have tried it a few times and for some reason I get some primary key constraint violation when I try this.. I tried to first drop all constraints, then truncate all of the tables on the destination database, then using DTS, I used the transfer objects and choose copy data only. I get the primary key constrain violations...
The database are 2/3 normal form and use constraints heavily.. I need to find a quick and dirty way to move data only from one database to another.. One server is Production and the other is QA..
any suggestions?? I find it hard to do this in SQL..I used to work with oracle and it seems a little easier to work with the data dictionary..