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-23). |
srvstatus2 |
unsigned int |
Bitmap of options (see Table 1-24). |
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-25). |
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-23 lists the bit representations for the srvstatus column:
Decimal |
Hex |
Status |
---|---|---|
0 |
0x0 |
Timeouts are enabled |
1 |
0x1 |
Timeouts are disabled |
2 |
0x2 |
Network password encryption is enabled |
4 |
0x4 |
Remote server is read-only |
8 |
0x8 |
Use RPC security model A |
16 |
0x10 |
Use RPC security model B |
64 |
0x40 |
Use message confidentiality |
128 |
0x80 |
Use message integrity |
256 |
0x100 |
Mutual authentication |
Decimal |
Hex |
Status |
---|---|---|
1 |
0x01 |
Supports fully qualified table names |
2 |
0x02 |
Reserved for future use |
Table 1-25 lists the server categories for the srvclass column:
srvclass |
Server category |
---|---|
0 |
Local server |
1 |
sql_server class server |
3 |
direct_connect class server |
4 |
DB2 class server |
6 |
sds class server |
7 |
Adaptive Server Enterprise class server |
8 |
Adaptive Server Anywhere class server |
9 |
ASIQ class server |
Unique clustered index on srvid
Nonclustered index on srvname