Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 4b52441

Browse files
20241202 deprecation notice, edit pass
1 parent 1cf0e10 commit 4b52441

1 file changed

Lines changed: 53 additions & 50 deletions

File tree

docs/database-engine/configure-windows/view-or-configure-remote-server-connection-options-sql-server.md

Lines changed: 53 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "View or Configure Remote Server Connection Options (SQL Server)"
33
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.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: "03/14/2017"
6+
ms.date: 12/02/2024
77
ms.service: sql
88
ms.subservice: configuration
99
ms.topic: conceptual
@@ -14,79 +14,82 @@ helpviewer_keywords:
1414
---
1515
# View or Configure Remote Server Connection Options (SQL Server)
1616
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
17-
This topic describes how to view or configure remote server connection options at the server level in [!INCLUDE[ssnoversion](../../includes/ssnoversion-md.md)] by using [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)].
17+
18+
This article describes how to view or configure remote server connection options at the server level in [!INCLUDE[ssnoversion](../../includes/ssnoversion-md.md)] by using [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)].
19+
20+
> [!IMPORTANT]
21+
> [!INCLUDE [ssNoteDepFutureAvoid](../../includes/ssnotedepfutureavoid-md.md)]
22+
23+
<a name="Security"></a>
24+
25+
## Permissions
26+
27+
Executing `sp_serveroption` requires ALTER ANY LINKED SERVER permission on the server.
1828

19-
**In This Topic**
29+
<a id="SSMSProcedure"></a>
30+
<a id="using-sql-server-management-studio"></a>
31+
32+
## Use SQL Server Management Studio
2033

21-
- **Before you begin:**
34+
<a id="to-view-or-configure-remote-server-connection-options"></a>
35+
36+
### View or configure remote server connection options
2237

23-
[Security](#Security)
38+
1. In Object Explorer, right-click a server, and then select **Properties**.
2439

25-
- **To view or configure remote server connection options, using:**
40+
1. In the **SQL Server Properties - \<**_server_name_**>** dialog box, select **Connections**.
41+
42+
1. On the **Connections** page, review the **Remote server connections** settings, and modify them if necessary.
2643

27-
[SQL Server Management Studio](#SSMSProcedure)
44+
1. Repeat steps 1 through 3 on the other server of the remote server pair.
2845

29-
[Transact-SQL](#TsqlProcedure)
46+
<a id="TsqlProcedure"></a> <a id="using-transact-sql"></a>
47+
48+
## Use Transact-SQL
3049

31-
- **Follow Up:** [After you configure remote server connection options](#FollowUp)
50+
<a id="to-view-remote-server-connection-options"></a>
51+
52+
### View remote server connection options
3253

33-
## <a name="BeforeYouBegin"></a> Before You Begin
54+
1. Connect to the [!INCLUDE[ssDE](../../includes/ssde-md.md)].
3455

35-
### <a name="Security"></a> Security
56+
1. From the **Standard** bar, select **New Query**.
3657

37-
#### <a name="Permissions"></a> Permissions
38-
Executing **sp_serveroption** requires ALTER ANY LINKED SERVER permission on the server.
39-
40-
## <a name="SSMSProcedure"></a> Using SQL Server Management Studio
41-
42-
#### To view or configure remote server connection options
43-
44-
1. In Object Explorer, right-click a server, and then click **Properties**.
45-
46-
2. In the **SQL Server Properties - \<**_server_name_**>** dialog box, click **Connections**.
47-
48-
3. On the **Connections** page, review the **Remote server connections** settings, and modify them if necessary.
49-
50-
4. Repeat steps 1 through 3 on the other server of the remote server pair.
51-
52-
## <a name="TsqlProcedure"></a> Using Transact-SQL
53-
54-
#### To view remote server connection options
55-
56-
1. Connect to the [!INCLUDE[ssDE](../../includes/ssde-md.md)].
57-
58-
2. From the Standard bar, click **New Query**.
59-
60-
3. Copy and paste the following example into the query window and click **Execute**. This example uses [sp_helpserver](../../relational-databases/system-stored-procedures/sp-helpserver-transact-sql.md) to return information about all remote servers.
58+
1. Copy and paste the following example into the query window and select **Execute**. This example uses [sp_helpserver](../../relational-databases/system-stored-procedures/sp-helpserver-transact-sql.md) to return information about all remote servers.
6159

6260
```sql
6361
USE master;
6462
GO
6563
EXEC sp_helpserver ;
6664
```
6765

68-
#### To configure remote server connection options
66+
<a id="to-configure-remote-server-connection-options"></a>
67+
68+
#### Configure remote server connection options
6969

70-
1. Connect to the [!INCLUDE[ssDE](../../includes/ssde-md.md)].
70+
1. Connect to the [!INCLUDE[ssDE](../../includes/ssde-md.md)].
7171

72-
2. From the Standard bar, click **New Query**.
73-
74-
3. Copy and paste the following example into the query window and click **Execute**. This example shows how to use [sp_serveroption](../../relational-databases/system-stored-procedures/sp-serveroption-transact-sql.md) to configure a remote server. The example configures a remote server corresponding to another instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], `SEATTLE3`, to be collation compatible with the local instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
72+
1. From the **Standard** bar, select **New Query**.
73+
74+
1. Copy and paste the following example into the query window and select **Execute**. This example shows how to use [sp_serveroption](../../relational-databases/system-stored-procedures/sp-serveroption-transact-sql.md) to configure a remote server. The example configures a remote server corresponding to another instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], `SEATTLE3`, to be collation compatible with the local instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
7575

7676
```sql
7777
USE master;
7878
EXEC sp_serveroption 'SEATTLE3', 'collation compatible', 'true';
7979
```
8080

81-
## <a name="FollowUp"></a> Follow Up: After you configure remote server connection options
81+
<a id="FollowUp"></a>
82+
83+
## Follow Up: After you configure remote server connection options
84+
8285
The remote server must be stopped and restarted before the setting can take effect.
8386

84-
## See Also
85-
[Server Configuration Options &#40;SQL Server&#41;](../../database-engine/configure-windows/server-configuration-options-sql-server.md)
86-
[Remote Servers](../../database-engine/configure-windows/remote-servers.md)
87-
[Linked Servers &#40;Database Engine&#41;](../../relational-databases/linked-servers/linked-servers-database-engine.md)
88-
[sp_linkedservers &#40;Transact-SQL&#41;](../../relational-databases/system-stored-procedures/sp-linkedservers-transact-sql.md)
89-
[sp_helpserver &#40;Transact-SQL&#41;](../../relational-databases/system-stored-procedures/sp-helpserver-transact-sql.md)
90-
[sp_serveroption &#40;Transact-SQL&#41;](../../relational-databases/system-stored-procedures/sp-serveroption-transact-sql.md)
91-
92-
87+
## Related content
88+
89+
- [Server configuration: remote access](configure-the-remote-access-server-configuration-option.md)
90+
- [Server configuration options](server-configuration-options-sql-server.md)
91+
- [Remote Servers](remote-servers.md)
92+
- [Linked Servers (Database Engine)](../../relational-databases/linked-servers/linked-servers-database-engine.md)
93+
- [sp_linkedservers (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-linkedservers-transact-sql.md)
94+
- [sp_helpserver (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-helpserver-transact-sql.md)
95+
- [sp_serveroption (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-serveroption-transact-sql.md)

0 commit comments

Comments
 (0)