| title | View or Configure Remote Server Connection Options (SQL Server) | |||
|---|---|---|---|---|
| description | Learn how to view or configure remote server connection options at the server level. You can use SQL Server Management Studio or Transact-SQL for this purpose. | |||
| author | rwestMSFT | |||
| ms.author | randolphwest | |||
| ms.date | 03/14/2017 | |||
| ms.service | sql | |||
| ms.subservice | configuration | |||
| ms.topic | conceptual | |||
| helpviewer_keywords |
|
[!INCLUDE SQL Server] This topic describes how to view or configure remote server connection options at the server level in [!INCLUDEssnoversion] by using [!INCLUDEssManStudioFull] or [!INCLUDEtsql].
In This Topic
-
Before you begin:
-
To view or configure remote server connection options, using:
-
Follow Up: After you configure remote server connection options
Executing sp_serveroption requires ALTER ANY LINKED SERVER permission on the server.
-
In Object Explorer, right-click a server, and then click Properties.
-
In the SQL Server Properties - <server_name> dialog box, click Connections.
-
On the Connections page, review the Remote server connections settings, and modify them if necessary.
-
Repeat steps 1 through 3 on the other server of the remote server pair.
-
Connect to the [!INCLUDEssDE].
-
From the Standard bar, click New Query.
-
Copy and paste the following example into the query window and click Execute. This example uses sp_helpserver to return information about all remote servers.
USE master;
GO
EXEC sp_helpserver ; -
Connect to the [!INCLUDEssDE].
-
From the Standard bar, click New Query.
-
Copy and paste the following example into the query window and click Execute. This example shows how to use sp_serveroption to configure a remote server. The example configures a remote server corresponding to another instance of [!INCLUDEssNoVersion],
SEATTLE3, to be collation compatible with the local instance of [!INCLUDEssNoVersion].
USE master;
EXEC sp_serveroption 'SEATTLE3', 'collation compatible', 'true'; The remote server must be stopped and restarted before the setting can take effect.
Server Configuration Options (SQL Server)
Remote Servers
Linked Servers (Database Engine)
sp_linkedservers (Transact-SQL)
sp_helpserver (Transact-SQL)
sp_serveroption (Transact-SQL)