master database only
sysservers contains one row for each remote Adaptive Server, Backup Server™, or Open Server™ on which this Adaptive Server can execute remote procedure calls.
The columns for sysservers are:
Name |
Datatype |
Description |
---|---|---|
srvid |
smallint |
ID number (for local use only) of the remote server. |
srvstatus |
smallint |
Bitmap of options (see Table 1-20). |
srvname |
varchar(30) |
Server name. |
srvnetname |
varchar(32) |
Interfaces file name for the server. |
srvclass |
smallint null |
Server category defined by the class parameter of sp_addserver (see Table 1-21). |
srvsecmech |
varchar(30) null |
Security mechanism. |
srvcost |
smallint null |
Provides the network cost in milliseconds for accessing a server over a network. Used only by the Adaptive Server query optimizer for evaluating the cost of a query when accessing a proxy table, the default is set to 1,000 ms. |
Table 1-20 lists the bit representations for the srvstatus column:
Table 1-21 lists the server categories for the srvclass column:
Unique clustered index on srvid
Nonclustered index on srvname
Copyright © 2005. Sybase Inc. All rights reserved. |