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
 General SQL Server Forums
 New to SQL Server Programming
 Export data with relationships?

Author  Topic 

azero
Starting Member

3 Posts

Posted - 2007-06-04 : 06:37:01
Hello Everyone,

I'm new here. Could anyone explain to me about alternative way to backup the databases excluding the Backup Data process. I find a way by export and import data from DTS. But somehow it doen't copy the relationships and the keys. Could anyone clarify this. Thanks

nr
SQLTeam MVY

12543 Posts

Posted - 2007-06-04 : 08:39:58
You can script the tables and then bcp out the data out and in then script the indexes and foreign keys etc. and apply them in the correct order.


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

azero
Starting Member

3 Posts

Posted - 2007-06-04 : 09:22:43
Can i use Copy SQL Server Objects Task to get the relationships and the primary keys? It's kindda Trouble to apply it manually if the tables are more the 50. Thanks.
Go to Top of Page
   

- Advertisement -