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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Import / Export and Referential Integrity
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

2 Posts

Posted - 10/12/2005 :  11:42:32  Show Profile  Reply with Quote
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 ?


Not Just a Number

15586 Posts

Posted - 10/12/2005 :  12:04:07  Show Profile  Reply with Quote
bcp will ignore RI



Hint: Want your questions answered fast? Follow the direction in this link
Go to Top of Page

Starting Member

2 Posts

Posted - 10/12/2005 :  15:39:01  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000