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