dbTalk Databases Forums  

Link Server

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


Discuss Link Server in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
news.microsoft.com
 
Posts: n/a

Default Link Server - 05-25-2005 , 12:03 PM






I have a link server I'm trying to connect to in a DTS package.
I'm not sure what connection to use and how to set it up.
Any suggestions??



Reply With Quote
  #2  
Old   
Helge C. Rutz
 
Posts: n/a

Default Re: Link Server - 05-25-2005 , 12:18 PM






Hi,

"news.microsoft.com" wrote:
Quote:
I have a link server I'm trying to connect to in a DTS package.
I'm not sure what connection to use and how to set it up.
Any suggestions??
do you mean a linked server is defined on your SQL Server?
Generally DTS connects servers through dedicated connections and therefor
doesn't use your linked server.
So you can query the linked server in sql tasks as normal source.
Or you define a connection object for that server and specify your
connection parameters there.

Can you clearify your question?

Helge



Reply With Quote
  #3  
Old   
news.microsoft.com
 
Posts: n/a

Default Re: Link Server - 05-25-2005 , 01:56 PM



Yes I mean linked server,
I was trying to use a connection is the DTS packages,
But it sounds like I have to write out the sql code in order to connect.

Thanks for your help.



"Helge C. Rutz" <news050424 (AT) nurfuerspam (DOT) de> wrote

Quote:
Hi,

"news.microsoft.com" wrote:
I have a link server I'm trying to connect to in a DTS package.
I'm not sure what connection to use and how to set it up.
Any suggestions??

do you mean a linked server is defined on your SQL Server?
Generally DTS connects servers through dedicated connections and therefor
doesn't use your linked server.
So you can query the linked server in sql tasks as normal source.
Or you define a connection object for that server and specify your
connection parameters there.

Can you clearify your question?

Helge



Reply With Quote
  #4  
Old   
Helge C. Rutz
 
Posts: n/a

Default Re: Link Server - 05-25-2005 , 02:09 PM



Hi,
"news.microsoft.com" wrote:
Quote:
Yes I mean linked server,
I was trying to use a connection is the DTS packages,
But it sounds like I have to write out the sql code in order to connect.
if you rely on the linked server defined by someone else then you have to
use the full quallified four part source name or OPENQUERY, which could
maybee give better performance when used right.
When you do this, and want to schedule the package, you also have to take
care who is then executing the package and accessing the linked server, to
get the right user mapping.

HTH
Helge



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.