Linking SQL Server databases to create DTS packages
1. Table T1 in Database DB1 in server1.
2. Table T2 in Database DB2 in server2.
3. Table T3 in Database DB3 in server3.
The DTS package will be created in DB3.
I need to copy data from T1 and T2 based on T1.ID = T2.ID, from the two servers to DB3. How can I link the two databases? I tried sp_addlinkedserver, but it didn’t work. What SQL (distributed) query can be use?
I’d be grateful if you could narrate an example to follow.



