Hi All,
Does anyone know how to test to see if a linked server really exists? Not that the link exists, rather that the actual server can be reached over the network. For example, if I execute the following query:
select count(*) from server99.testdb.dbo.user_accounts
I am returned the following
Server: Msg 6, Level 16.... Specified SQL server not found
This occurs when the server happens to be down or the network connection has been disrupted. Does anyone know how a connection test can be performed in a stored proc?
Appreciate the assistance...
Brad
Does anyone know how to test to see if a linked server really exists? Not that the link exists, rather that the actual server can be reached over the network. For example, if I execute the following query:
select count(*) from server99.testdb.dbo.user_accounts
I am returned the following
Server: Msg 6, Level 16.... Specified SQL server not found
This occurs when the server happens to be down or the network connection has been disrupted. Does anyone know how a connection test can be performed in a stored proc?
Appreciate the assistance...
Brad