Skip to content

Latest commit

 

History

History
95 lines (63 loc) · 4.07 KB

view-or-configure-remote-server-connection-options-sql-server.md

File metadata and controls

95 lines (63 loc) · 4.07 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
View or Configure Remote Server Connection Options (SQL Server)
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.
rwestMSFT
randolphwest
12/02/2024
sql
configuration
how-to
remote servers [SQL Server], connection options
servers [SQL Server], remote
connections [SQL Server], remote servers

View or Configure Remote Server Connection Options (SQL Server)

[!INCLUDE SQL Server]

This article describes how to view or configure remote server connection options at the server level in [!INCLUDEssnoversion] by using [!INCLUDEssManStudioFull] or [!INCLUDEtsql].

Important

[!INCLUDE ssNoteDepFutureAvoid]

Permissions

Executing sp_serveroption requires ALTER ANY LINKED SERVER permission on the server.

Use SQL Server Management Studio

View or configure remote server connection options

  1. In Object Explorer, right-click a server, and then select Properties.

  2. In the SQL Server Properties - <server_name> dialog box, select Connections.

  3. On the Connections page, review the Remote server connections settings, and modify them if necessary.

  4. Repeat steps 1 through 3 on the other server of the remote server pair.

Use Transact-SQL

View remote server connection options

  1. Connect to the [!INCLUDEssDE].

  2. From the Standard bar, select New Query.

  3. Copy and paste the following example into the query window and select Execute. This example uses sp_helpserver to return information about all remote servers.

USE master;  
GO  
EXEC sp_helpserver ;  

Configure remote server connection options

  1. Connect to the [!INCLUDEssDE].

  2. From the Standard bar, select New Query.

  3. Copy and paste the following example into the query window and select 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';  

Follow Up: After you configure remote server connection options

The remote server must be stopped and restarted before the setting can take effect.

Related content