Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use of sp_addlinkedserver

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
I am able to link one SQL server to another using the sp_addlinkedserver command.
This creates an additional entry in the 'sysservers' table. Does the entry associated with the currently connected server always maintain the ID value of 0 (with added servers having their ID's incremented accordingly) ?
Thanks in advance.
Steve
 
You cannot create a local server as a linked server, therefore, the server id will always be non-zero because you always start at 1 for a remote server id and increment from there, and yes, it will incremented like an identity (but it isn't one). Tom Davis
tdavis@sark.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top