Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Import / Export and Referential Integrity

Author  Topic 

ArachPres
Starting Member

2 Posts

Posted - 2005-10-12 : 11:42:32
Alright, I'm not new to SQL Server but I am new to importing and exporting data. I am familiar with only a few options which include using the BCP utility and Data Transformation Services.

I have used the GUI interface to the DTS and found that it can export single tables at a time using specified queries. What I have also noticed is that DTS appears to ignore table triggers when re-importing data.

I need to know if there is a way to export cross-table data from SQL Server 7 and SQL Server 2000 to a text file or series of text files and then import the data into another SQL database with an identical schema while explicitly maintaining referential integrity between the tables upon reinserting into the new database.

Is this possible at all???? And if so, can it be done with BCP, DTS, or Replication ?


-Mike

X002548
Not Just a Number

15586 Posts

Posted - 2005-10-12 : 12:04:07
bcp will ignore RI



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx
Go to Top of Page

ArachPres
Starting Member

2 Posts

Posted - 2005-10-12 : 15:39:01
How about Data Transformation Services or Replication ? Something called "Merge Replication" looks as though it might be able to be used as a means for accomplishing my problem of exporting and importing while maintaining referential integrity.
Go to Top of Page
   

- Advertisement -