sys.sysservers (Transact-SQL)
Zawiera jeden wiersz dla każdego serwera, które wystąpienie SQL Server można uzyskać dostęp jako urządzenie źródłowe danych OLE DB.
![]() |
---|
This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping SQL Server 2000 System Tables to SQL Server 2005 System Views. This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. |
Nazwa kolumna |
Typ danych |
Description |
---|---|---|
srvid |
smallint |
Identyfikator (tylko do użytku lokalnego) serwera zdalnego. |
srvstatus |
smallint |
Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. |
srvname |
sysname |
Nazwa serwera. |
srvproduct |
sysname |
Nazwa produktu na serwerze zdalnym. |
ProviderName |
sysname |
Nazwa dostawca OLE DB do dostępu do tego serwera. |
źródło danych |
nvarchar(4000) |
Wartość urządzenie źródłowe danych OLE DB. |
Lokalizacja |
nvarchar(4000) |
Wartość lokalizacji baz danych OLE. |
providerstring |
nvarchar(4000) |
Wartość ciąg dostawca OLE DB. |
schemadate |
datetime |
Data ostatniej aktualizacji tego wiersza. |
topologyx |
int |
Nie używany. |
topologyy |
int |
Nie używany. |
katalog |
sysname |
Katalog, który jest używany po nawiązaniu połączenia z dostawca OLE DB. |
connecttimeout |
int |
Ustawienie limitu czas dla połączenia serwera. |
querytimeout |
int |
Ustawienie limitu czas dla kwerend na serwerze. |
srvnetname |
char(30) |
Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. |
isremote |
bit |
1 = Serwer jest serwerem zdalnym. 0 = Serwer połączony. |
RPC |
bit |
1 = sp_serveroption@rpc set to true or on. 0 = sp_serveroption@rpc set to false or off. |
pub |
bit |
1 = sp_serveroption@pub set to true or on. 0 = sp_serveroption@pub set to false or off. |
podrzędne |
bit |
1 = sp_serveroption@sub set to true or on. 0 = sp_serveroption@sub set to false or off. |
dist |
bit |
1 = sp_serveroption@dist set to true or on. 0 = sp_serveroption@dist set to false or off. |
dpub |
bit |
1 = sp_serveroption@dpub set to true or on. 0 = sp_serveroption@dpub set to false or off. |
rpcout |
bit |
1 = sp_serveroption@rpc out set to true or on. 0 = sp_serveroption@rpc out set to false or off. |
dataaccess |
bit |
1 = sp_serveroption@data access set to true or on. 0 = sp_serveroption@data access set to false or off. |
collationcompatible |
bit |
1 = sp_serveroption@collation compatible set to true or on. 0 = sp_serveroption@collation compatible set to false or off. |
System |
bit |
1 = sp_serveroption@system set to true or on. 0 = sp_serveroption@system set to false or off. |
useremotecollation |
bit |
1 = sp_serveroption@remote collation set to true or on. 0 = sp_serveroption@remote collation set to false or off. |
lazyschemavalidation |
bit |
1 = sp_serveroption@lazy schema validation set to true or on. 0 = sp_serveroption@lazy schema validation set to false or off. |
Sortowanie |
sysname |
Server collation as set by sp_serveroption@collation name. |