Advertisement

07.05.2007 at 09:01AM PDT, ID: 22677135
[x]
Attachment Details

Behavior of sp_addlinkedserver

Asked by andersonpower in Data Manipulation, MS SQL Server

Tags: sp_addlinkedserver

I have a stored procedure that will run daily. This SP will need to call another SP on a different server. To do this, I believe that I should be using sp_addlinkedserver, correct? The SP on the remote server does not return anything -- it just adds a record to the remote database.

My questions are:
1. Does sp_addlinkedserver need to be called every time the remote SP is executed? Or does this command link the servers permanently?
2. If this does link the servers permanently, would there be any performance issues related to leaving them linked? Or should I unlink them when I'm finished?Start Free Trial
[+][-]07.05.2007 at 09:19AM PDT, ID: 19425237

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Data Manipulation, MS SQL Server
Tags: sp_addlinkedserver
Sign Up Now!
Solution Provided By: k_rasuri
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.05.2007 at 09:23AM PDT, ID: 19425274

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32