dbTalk Databases Forums  

Distributed query Vs DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Distributed query Vs DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DTS beginner
 
Posts: n/a

Default Distributed query Vs DTS - 02-12-2004 , 01:41 AM






I have a situation where I have to get delta rows ( less than 1000) from a remote SQL Server at different physical location to local SQL server. I can either establish link server and use 4 part distributed query t get data OR use DTS transform task to get data. After getting data I will be using it to compare ot existing table data and inserting new rows and updating existing rows. Since this is a set-based operation with no row-by-row transformation required I can probably use either Execute SQL task of DTS OR use stored proc.

My question is, what are the pros-cons of using DTS Vs linked server distributed query and which is more practical in long run as # of rows to retrieve from remote server increase?

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Distributed query Vs DTS - 02-12-2004 , 02:57 AM






DTS is nice and graphical for you, it is quick, is able to perform a lot of
complex operations against your data.
Linked Servers are easy to use (Use OPENQUERY) and they do what you want.
You also do not need to call out to an external process

To use the ExecuteSQL task in DTS you would need a linked server anyway.

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"DTS beginner" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a situation where I have to get delta rows ( less than 1000) from a
remote SQL Server at different physical location to local SQL server. I can
either establish link server and use 4 part distributed query t get data OR
use DTS transform task to get data. After getting data I will be using it to
compare ot existing table data and inserting new rows and updating existing
rows. Since this is a set-based operation with no row-by-row transformation
required I can probably use either Execute SQL task of DTS OR use stored
proc.
Quote:
My question is, what are the pros-cons of using DTS Vs linked server
distributed query and which is more practical in long run as # of rows to
retrieve from remote server increase?




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.