![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In our application, we would like to export the user data. In the main table, it is related to many other tables with foreign keys. We have not used DTS before and would like to see if it can export the data for us. How can we write a DTS package that will export from the main table, and all related data from the other tables, into a single XML file that can then be imported into another database? If this is possible, can someone provide a simple example that I can build on? Thank you |
#3
| |||
| |||
|
|
Yes. you can use DTS to do your task. In the DTS wizard, use the 2nd option "Use a query to specify the data to transfer." Then input your sql statement joining several tables. "Mike Collins" wrote: In our application, we would like to export the user data. In the main table, it is related to many other tables with foreign keys. We have not used DTS before and would like to see if it can export the data for us. How can we write a DTS package that will export from the main table, and all related data from the other tables, into a single XML file that can then be imported into another database? If this is possible, can someone provide a simple example that I can build on? Thank you |
![]() |
| Thread Tools | |
| Display Modes | |
| |