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
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Transform Data Task in DTS

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-08-08 : 08:20:41
Stacy writes "Is there a performance difference between having the SQL directly in the Transform Data Task or executing a stored procedure instead? Are there advantages/disadvantages to doing it one way or the other? (Note: The source is on Server A and the Destination is on Server B. The DTS package resides on Server B.) Using SQL Server 2000, Windows NT 4.0.

Thanks!"

nr
SQLTeam MVY

12543 Posts

Posted - 2003-08-08 : 08:56:21
As always the SP will have the query plan prebuilt. Also less data will need to be sent to server A to call the SP.
But this probably isn't very impoortant compared to ease of maintainability, security, development, ...

Are you sure you want to use dts? (had to ask :) ).

==========================================
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
   

- Advertisement -