Skip to content

Commit 85d0020

Browse files
authored
Refresh connectivity articles (UUF 367920) (#34334)
1 parent c67b570 commit 85d0020

File tree

7 files changed

+165
-160
lines changed

7 files changed

+165
-160
lines changed

docs/connect/odbc/windows/odbc-administrator-dsn-creation.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
title: ODBC Data Source Administrator DSN options
2+
title: ODBC Data Source Administrator DSN Options
33
description: This article describes the options available when creating a new DSN connection to SQL Server using the ODBC Data Source Administrator application.
44
author: David-Engel
55
ms.author: davidengel
6-
ms.date: "03/29/2024"
6+
ms.reviewer: randolphwest
7+
ms.date: 06/05/2025
78
ms.service: sql
89
ms.subservice: connectivity
910
ms.topic: conceptual
@@ -14,11 +15,11 @@ This article describes the options available when creating a new DSN connection
1415

1516
When you create a DSN, the wizard displays a series of screens that allow you to specify the information needed to connect to SQL Server.
1617

17-
## Create New Data Source
18+
## Create new data source
1819

1920
This article only pertains to creating a DSN using the ODBC driver for SQL Server. The ODBC Data Source Administrator dialog box is displayed when you select **Add** in the **User DSN**, **System DSN**, or **File DSN** tab of the ODBC Data Source Administrator dialog box. Choose the driver and select **Finish** to display the first screen of the wizard.
2021

21-
## Create a New Data Source to SQL Server - Screen 1
22+
## Create a new data source to SQL Server - Screen 1
2223

2324
### Name
2425

@@ -34,15 +35,15 @@ The name of an instance of SQL Server on your network. You'll need to specify a
3435

3536
In most cases, the ODBC driver can connect by using the default protocol order and the server name supplied in this box. Use SQL Server Configuration Manager if you want to create an alias for the server or configure client network libraries.
3637

37-
You can enter "(local)" in the server box when you're using the same computer as SQL Server. The user can then connect to the local instance of SQL Server, even when running a non-networked version of SQL Server. Multiple instances of SQL Server can run on the same computer. To specify a named instance of SQL Server, the server name is specified as _ServerName_\\_InstanceName_.
38+
You can enter "(local)" in the server box when you're using the same computer as SQL Server. The user can then connect to the local instance of SQL Server, even when running a non-networked version of SQL Server. Multiple instances of SQL Server can run on the same computer. To specify a named instance of SQL Server, the server name is specified as `<ServerName>\<InstanceName>`.
3839

39-
For more information about server names for different types of networks, see [Logging In to SQL Server](../../../database-engine/configure-windows/logging-in-to-sql-server.md#format-for-specifying-the-name-of-sql-server).
40+
For more information about server names for different types of networks, see [Sign in to SQL Server](../../../database-engine/configure-windows/logging-in-to-sql-server.md#format-for-specifying-the-instance-name).
4041

4142
### Finish (optional)
4243

4344
If the information specified on this screen is all that is needed to connect to SQL Server, you can select **Finish**. Defaults are used for all attributes specified on other screens of the wizard.
4445

45-
## Create a New Data Source to SQL Server - Screen 2
46+
## Create a new data source to SQL Server - Screen 2
4647

4748
Specify the method of authentication, and set up Microsoft SQL Server advanced-client entries and the login and password the ODBC driver for SQL Server will use to connect to SQL Server while configuring the data source.
4849

@@ -88,7 +89,7 @@ Specifies the password the driver uses when connecting to SQL Server if **With S
8889

8990
Both the **Login ID** and **Password** boxes are disabled if **With Integrated Windows authentication** or **With Active Directory Integrated authentication** is selected.
9091

91-
## Create a New Data Source to SQL Server - Screen 3
92+
## Create a new data source to SQL Server - Screen 3
9293

9394
Specify the default database, various ANSI options to be used by the driver, and the name of a mirror server.
9495

@@ -115,42 +116,42 @@ Specifies that `QUOTED_IDENTIFIER` is set to on when the ODBC driver for SQL Ser
115116
```sql
116117
SELECT "LastName"
117118
FROM "Person.Contact"
118-
WHERE "LastName" = 'O''Brien'
119+
WHERE "LastName" = 'O''Brien';
119120
```
120121

121122
When this check box is cleared, applications that use quoted identifiers, such as the Microsoft Query utility that comes with Microsoft Excel, encounter errors when they generate SQL statements with quoted identifiers.
122123

123124
### Use ANSI nulls, paddings, and warnings
124125

125-
Specifies that the ANSI_NULLS, ANSI_WARNINGS, and ANSI_PADDINGS options be set on when the ODBC Driver for SQL Server connects.
126+
Specifies that the `ANSI_NULLS`, `ANSI_WARNINGS`, and `ANSI_PADDINGS` options be set on when the ODBC Driver for SQL Server connects.
126127

127-
With ANSI_NULLS set on, the server enforces ANSI rules regarding comparing columns for NULL. The ANSI syntax "IS NULL" or "IS NOT NULL" must be used for all NULL comparisons. The Transact-SQL syntax "= NULL" isn't supported.
128+
With `ANSI_NULLS` set on, the server enforces ANSI rules regarding comparing columns for `NULL`. The ANSI syntax `IS NULL` or `IS NOT NULL` must be used for all `NULL` comparisons. The Transact-SQL syntax `= NULL` isn't supported.
128129

129-
With ANSI_WARNINGS set on, SQL Server issues warning messages for conditions that violate ANSI rules but don't violate the rules of Transact-SQL. Examples of such errors are data truncation on execution of an INSERT or UPDATE statement, or encountering a null value during an aggregate function.
130+
With `ANSI_WARNINGS` set on, SQL Server issues warning messages for conditions that violate ANSI rules but don't violate the rules of Transact-SQL. Examples of such errors are data truncation on execution of an `INSERT` or `UPDATE` statement, or encountering a null value during an aggregate function.
130131

131-
With ANSI_PADDING set on, trailing blanks on **varchar** values and trailing zeroes on **varbinary** values aren't automatically trimmed.
132+
With `ANSI_PADDING` set on, trailing blanks on **varchar** values and trailing zeroes on **varbinary** values aren't automatically trimmed.
132133

133134
### Application intent
134135

135136
Declares the application workload type when connecting to a server. Possible values are **ReadOnly** and **ReadWrite**.
136137

137138
### Multi-subnet failover
138139

139-
If your application is connecting to a high-availability, disaster recovery (Always On Availability Groups) availability group (AG) on different subnets, enabling **Multi-subnet failover** configures ODBC Driver for SQL Server to provide faster detection of and connection to the (currently) active server.
140+
If your application is connecting to an availability group (AG) on different subnets, enabling **Multi-subnet failover** configures ODBC Driver for SQL Server to provide faster detection of and connection to the (currently) active server.
140141

141-
### Transparent Network IP Resolution
142+
### Transparent network IP resolution
142143

143-
Alters the behavior of **Multi-subnet failover** to allow for faster reconnection during failover. For more information, see [Using Transparent Network IP Resolution](../using-transparent-network-ip-resolution.md).
144+
Alters the behavior of **Multi-subnet failover** to allow for faster reconnection during failover. For more information, see [Using Transparent Network IP Resolution with the ODBC Driver](../using-transparent-network-ip-resolution.md).
144145

145-
### Column Encryption
146+
### Column encryption
146147

147148
Enables automatic decryption and encryption of data transfers to and from columns encrypted with the [Always Encrypted](../using-always-encrypted-with-the-odbc-driver.md) feature available in SQL Server 2016 and later.
148149

149150
### Use FMTONLY metadata discovery
150151

151152
Use the legacy SET FMTONLY metadata discovery method when connecting to SQL Server 2012 or newer. Enable this option only when using queries not supported by [sp_describe_first_result_set](../../../relational-databases/system-stored-procedures/sp-describe-first-result-set-transact-sql.md), such as those containing temporary tables.
152153

153-
## Create a New Data Source to SQL Server - Screen 4
154+
## Create a new data source to SQL Server - Screen 4
154155

155156
Specify the language to be used for SQL Server messages, the character set translation, and whether the ODBC driver for SQL Server should use regional settings. You can also control the logging of long-running queries and driver statistics settings.
156157

@@ -208,12 +209,12 @@ Specifies the number of times to retry an unsuccessful connection attempt.
208209

209210
### Connect retry interval (seconds)
210211

211-
Specifies the number of seconds between each connection retry attempt. For more information on the operation of this option and the **Connect retry count** options, see [Connection Resiliency](../connection-resiliency.md).
212+
Specifies the number of seconds between each connection retry attempt. For more information on the operation of this option and the **Connect retry count** options, see [Connection resiliency in the ODBC driver](../connection-resiliency.md).
212213

213214
### Finish
214215

215216
If the information specified on this screen is complete, you can select **Finish**. The DSN is created using all attributes specified on this and other screens of the wizard, and you're given an opportunity to test the newly created DSN.
216217

217218
## Related content
218219

219-
[Microsoft ODBC Driver for SQL Server on Windows](../../../connect/odbc/windows/microsoft-odbc-driver-for-sql-server-on-windows.md)
220+
- [Microsoft ODBC Driver for SQL Server on Windows](microsoft-odbc-driver-for-sql-server-on-windows.md)

docs/database-engine/configure-windows/configure-the-remote-access-server-configuration-option.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "Server configuration: remote access"
2+
title: "Server Configuration: remote access"
33
description: Learn about alternatives to the deprecated remote access option. View other sources for troubleshooting issues with SQL Server connections.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: 05/19/2025
6+
ms.date: 06/05/2025
77
ms.service: sql
88
ms.subservice: configuration
99
ms.topic: conceptual
@@ -16,15 +16,17 @@ helpviewer_keywords:
1616

1717
This article is about the `remote access` configuration option, which is a deprecated [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] communication feature.
1818

19+
For information about linked servers, see [Linked Servers (Database Engine)](../../relational-databases/linked-servers/linked-servers-database-engine.md).
20+
1921
This option affects servers that are added by using [sp_addserver](../../relational-databases/system-stored-procedures/sp-addserver-transact-sql.md) and [sp_addlinkedserver](../../relational-databases/system-stored-procedures/sp-addlinkedserver-transact-sql.md). You should leave `remote access` enabled (the default) if you use [linked servers](../../relational-databases/linked-servers/linked-servers-database-engine.md).
2022

2123
> [!IMPORTANT]
2224
> [!INCLUDE [ssNoteDepFutureAvoid](../../includes/ssnotedepfutureavoid-md.md)]
2325
2426
If you reached this page because you're having trouble connecting to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], see one of the following articles instead:
2527

26-
- [Tutorial: Getting started with the Database Engine](../../relational-databases/tutorial-getting-started-with-the-database-engine.md)
27-
- [Logging in to SQL Server](logging-in-to-sql-server.md)
28+
- [Tutorial: Get started with the Database Engine](../../relational-databases/tutorial-getting-started-with-the-database-engine.md)
29+
- [Sign in to SQL Server](logging-in-to-sql-server.md)
2830
- [Connect to SQL Server when system administrators are locked out](connect-to-sql-server-when-system-administrators-are-locked-out.md)
2931
- [Connect to a registered server (SQL Server Management Studio)](../../ssms/register-servers/connect-to-a-registered-server-sql-server-management-studio.md)
3032
- [Connect to any SQL Server component from SQL Server Management Studio](../../ssms/f1-help/connect-to-any-sql-server-component-from-sql-server-management-studio.md)
@@ -84,6 +86,7 @@ For more information, see [Server configuration options](server-configuration-op
8486

8587
## Related content
8688

89+
- [Linked Servers (Database Engine)](../../relational-databases/linked-servers/linked-servers-database-engine.md)
8790
- [RECONFIGURE (Transact-SQL)](../../t-sql/language-elements/reconfigure-transact-sql.md)
8891
- [Server configuration options](server-configuration-options-sql-server.md)
8992
- [sp_configure (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-configure-transact-sql.md)
Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "Log In to an Instance of SQL Server (Command Prompt)"
2+
title: "Sign in to an Instance of SQL Server (Command Prompt)"
33
description: "Learn about the sqlcmd utility. See how to use it in a command prompt to test connectivity to an instance of SQL Server."
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: "03/14/2017"
6+
ms.date: 06/05/2025
77
ms.service: sql
88
ms.subservice: configuration
99
ms.topic: how-to
@@ -14,30 +14,29 @@ helpviewer_keywords:
1414
- "command prompt [SQL Server], logins"
1515
- "logging in [SQL Server]"
1616
---
17-
# Log In to an Instance of SQL Server (Command Prompt)
18-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
19-
This topic describes how to test connectivity to an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], use the **sqlcmd** utility.
20-
21-
## <a name="SSMSProcedure"></a>
22-
23-
#### To log in to the default instance of SQL Server
24-
25-
1. From a command prompt, enter the following command to connect by using Windows Authentication:
26-
27-
```
28-
sqlcmd [ /E ] [ /S servername ]
29-
30-
```
31-
32-
#### To log in to a named instance of SQL Server
33-
34-
1. From a command prompt, enter the following command to connect by using Windows Authentication:
35-
36-
```
37-
sqlcmd [ /E ] /S servername\instancename
38-
39-
```
40-
41-
## See Also
42-
[sqlcmd Utility](../../tools/sqlcmd/sqlcmd-utility.md)
43-
[osql Utility](../../tools/osql-utility.md)
17+
# Sign in to an instance of SQL Server (Command Prompt)
18+
19+
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
20+
21+
This article describes how to test connectivity to an instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], using the **sqlcmd** utility.
22+
23+
## Sign in to the default instance of SQL Server
24+
25+
From a command prompt, enter the following command to connect by using Windows Authentication:
26+
27+
```console
28+
sqlcmd [/E] [/S servername]
29+
```
30+
31+
## Sign in to a named instance of SQL Server
32+
33+
From a command prompt, enter the following command to connect by using Windows Authentication:
34+
35+
```console
36+
sqlcmd [/E] /S servername\instancename
37+
```
38+
39+
## Related content
40+
41+
- [sqlcmd Utility](../../tools/sqlcmd/sqlcmd-utility.md)
42+
- [osql Utility](../../tools/osql-utility.md)

0 commit comments

Comments
 (0)