Creating server entries in system tables

Use sp_addserver to add entries to the sysservers table. sp_addserver creates entries for the local server and 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 CTOSDEMO with server class ASEnterprise.

sp_addserver SYBASE, local
sp_addserver CTOSDEMO, ASEnterprise, CTOSDEMO

You must reboot Adaptive Server after your add a local server.