dbTalk Databases Forums  

DTS packages or stored procedures?

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


Discuss DTS packages or stored procedures? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
imani_technology_spam@yahoo.com
 
Posts: n/a

Default DTS packages or stored procedures? - 04-11-2005 , 10:16 AM






If the source database is a SQL Server database and the destination
database is a SQL Server database, do you need to use DTS? Is it
possible to use a stored procedure instead? Are there advantages to
the stored procedure solution?


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

Default Re: DTS packages or stored procedures? - 04-11-2005 , 01:15 PM






The answer is as always "It depends"

DTS allows you to do some funky stuff which is very difficult in a
stored proc.
It also allows you to traverse a lot of datasources effortlessly.
It will provide you with a GUI which is pleasing at which to look.
Great logging ability

That said.

If all you want to do is move data from a SQL Server DB to a SQL Server
DB with no particular fancy stuff in the middle then why invoke DTS if
an SP will do it?

Allan


"imani_technology_spam (AT) yahoo (DOT) com" <imani_technology_spam (AT) yahoo (DOT) com>
wrote in message news:imani_technology_spam (AT) yahoo (DOT) com:

Quote:
If the source database is a SQL Server database and the destination
database is a SQL Server database, do you need to use DTS? Is it
possible to use a stored procedure instead? Are there advantages to
the stored procedure solution?


Reply With Quote
  #3  
Old   
imani_technology_spam@yahoo.com
 
Posts: n/a

Default Re: DTS packages or stored procedures? - 04-11-2005 , 02:27 PM



Which would have faster peformance, a DTS script or a stored procedure
with linked (SQL) servers?


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

Default Re: DTS packages or stored procedures? - 04-11-2005 , 02:47 PM



Again

That depends.

Linked server using 4 part naming performance generally sucks but you
can get some good perf on OPENROWSET etc.

Have a go and notice the trade offs.

It also comes down to maintainability.


"imani_technology_spam (AT) yahoo (DOT) com" <imani_technology_spam (AT) yahoo (DOT) com>
wrote in message news:imani_technology_spam (AT) yahoo (DOT) com:

Quote:
Which would have faster peformance, a DTS script or a stored procedure
with linked (SQL) servers?


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.