Defining the remote servers

Use sp_addserver to add entries to the sysservers system table. On the server originating the call, there must be an entry for each remote server that is to be called. The sp_addserver syntax is:

sp_addserver server_name [,server_class] [,network_name]

where:

Example

The following examples create entries for the local server named SYBASE and for the remote server SYBASE of class ASEnterprise.

sp_addserver SYBASE, local
sp_addserver CTOSDEMO, ASEnterprise, SYBASE