![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
DTS give you power through its flexibility. If you can manage things through T-SQL, you're better off, since you don't have to learn DTS. As for a distributed query, it depends. Use stored procs to retrieve the data from the source and then you can do an INSERT EXEC: insert MyTable exec OtherServer.OtherDB.dbo.MyProc I'd avoid doing raw SELECT's across the linked server: insert MyTable select * from OtherServer.OtherDB.dbo.OtherTable |
#4
| |||
| |||
|
|
DTS give you power through its flexibility. If you can manage things through T-SQL, you're better off, since you don't have to learn DTS. As for a distributed query, it depends. Use stored procs to retrieve the data from the source and then you can do an INSERT EXEC: insert MyTable exec OtherServer.OtherDB.dbo.MyProc I'd avoid doing raw SELECT's across the linked server: insert MyTable select * from OtherServer.OtherDB.dbo.OtherTable |
![]() |
| Thread Tools | |
| Display Modes | |
| |