Skip to content

Commit b751349

Browse files
committed
Merge branch 'main' into release-2019-cu20
2 parents a1a33f5 + c49b269 commit b751349

18 files changed

Lines changed: 486 additions & 419 deletions

azure-sql/managed-instance/private-endpoint-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The benefits of using private endpoints over a VNet-local or public endpoint inc
5454
- Automatic registration of DNS names is disabled while in preview. Follow the steps in [Set up domain name resolution for private endpoint](#set-up-domain-name-resolution-for-private-endpoint) instead.
5555
- Private endpoints to SQL Managed Instance can only be used to connect to port 1433, the standard TDS port for SQL traffic. More complex connectivity scenarios requiring communication on other ports must be established via the instance's VNet-local endpoint.
5656
- Private endpoints to Azure SQL Managed Instance require a special setup to configure the required DNS resolution, as described in [Set up domain name resolution for private endpoint](#set-up-domain-name-resolution-for-private-endpoint).
57-
- Connections to private endpoint only support Proxy as the [connection type](connection-types-overview.md).
57+
- Private endpoints always operate with the [proxy connection type](connection-types-overview.md#connection-types).
5858

5959
## Create a private endpoint in a virtual network
6060

azure-sql/migration-guides/database/sql-server-to-sql-database-assessment-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Assessment rules for SQL Server to Azure SQL Database migration"
33
description: Assessment rules to identify issues with the source SQL Server instance that must be addressed before migrating to Azure SQL Database.
44
author: rajeshsetlem
55
ms.author: rsetlem
6-
ms.reviewer: mathoma, kendralittle
6+
ms.reviewer: mathoma
77
ms.date: 12/15/2020
88
ms.service: sql-database
99
ms.subservice: migration-guide

azure-sql/migration-guides/database/sql-server-to-sql-database-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: "SQL Server to Azure SQL Database: Migration overview"
33
description: Learn about the tools and options available to migrate your SQL Server databases to Azure SQL Database.
44
author: croblesm
55
ms.author: roblescarlos
6-
ms.reviewer: mathoma, kendralittle
7-
ms.date: 01/06/2023
6+
ms.reviewer: mathoma
7+
ms.date: 03/20/2023
88
ms.service: sql-database
99
ms.subservice: migration-guide
1010
ms.topic: how-to
@@ -114,7 +114,7 @@ The following table compares the migration options that we recommend:
114114
|Migration option |When to use |Considerations |
115115
|---------|---------|---------|
116116
| [Azure Migrate](/azure/migrate/how-to-create-azure-sql-assessment) | - Discovery and assess single databases or at scale from different environments. | - All pre-migration steps such as discovery, assessments, and right-sizing of on-premises resources are included for infrastructure, data, and applications. |
117-
| [Azure SQL Migration extension for Azure Data Studio](/azure/dms/migration-using-azure-data-studio) | - Migrate single databases or at scale. </br> - Can run in both online and offline modes. </br> </br> Supported sources: </br> - SQL Server (2008 onwards) on-premises, or on Azure Virtual Machines </br> - SQL Server on Amazon EC2 </br> - Amazon RDS for SQL Server </br> - SQL Server on Google Compute Engine | - Migrations at scale can be automated via [PowerShell or Azure CLI](/azure/dms/migration-dms-powershell-cli). </br> </br> - Time to complete migration depends on database size and the number of objects in the database. </br> </br> - Azure Data Studio is required when you are not using PowerShell or Azure CLI. |
117+
| [Azure SQL Migration extension for Azure Data Studio](/azure/dms/migration-using-azure-data-studio) | - Migrate single databases or at scale. </br> - Offline mode only. </br> </br> Supported sources: </br> - SQL Server (2008 onwards) on-premises, or on Azure Virtual Machines </br> - SQL Server on Amazon EC2 </br> - Amazon RDS for SQL Server </br> - SQL Server on Google Compute Engine | - Migrations at scale can be automated via [PowerShell or Azure CLI](/azure/dms/migration-dms-powershell-cli). </br> </br> - Time to complete migration depends on database size and the number of objects in the database. </br> </br> - Azure Data Studio is required when you are not using PowerShell or Azure CLI. |
118118

119119
The following table compares the alternative migration options:
120120

azure-sql/toc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@
160160
items:
161161
- name: Connect and query from apps
162162
items:
163+
- name: Connect and query
164+
href: database/connect-query-content-reference-guide.md
163165
- name: .NET with Visual Studio
164166
href: database/connect-query-dotnet-visual-studio.md
165167
- name: .NET with Windows, Linux, and macOS
@@ -578,7 +580,6 @@
578580
- name: Plan and manage costs
579581
href: database/cost-management.md
580582
- name: Connect and query
581-
href: database/connect-query-content-reference-guide.md
582583
items:
583584
- name: Connect and run ad-hoc queries
584585
items:

docs/azure-data-studio/download-azure-data-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ sudo zypper install libxss1 libgconf-2-4 libunwind8
225225

226226
#### Install with a .deb file
227227

228-
1. Download Azure Data Studio for Ubuntu or Debian by using the [.deb](https://go.microsoft.com/fwlink/?linkid=2215528) file.
228+
1. Download Azure Data Studio for Ubuntu or Debian by using the [.deb](https://go.microsoft.com/fwlink/?linkid=2222875) file.
229229

230230
1. To extract the .deb file, open a new terminal window, and then run the following commands:
231231

docs/connect/ado-net/microsoft-ado-net-sql-server.md

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: "Microsoft ADO.NET"
3-
description: "Microsoft ADO.NET for SQL Server is the core data access technology for .NET languages. Use the Microsoft.Data.SqlClient namespace to access SQL Server."
3+
description: "Microsoft ADO.NET, for SQL Server and Azure SQL, is the core data access technology for .NET languages. Use the Microsoft.Data.SqlClient library to access SQL Server."
4+
5+
46
author: David-Engel
57
ms.author: v-davidengel
68
ms.reviewer: v-kaywon
@@ -9,19 +11,42 @@ ms.service: sql
911
ms.subservice: connectivity
1012
ms.topic: conceptual
1113
---
12-
# Microsoft ADO.NET for SQL Server
14+
# Microsoft ADO.NET for SQL Server and Azure SQL Database
1315

1416
[!INCLUDE[Driver_ADONET_Download](../../includes/driver_adonet_download.md)]
1517

16-
ADO.NET is the core data access technology for .NET languages. Use the Microsoft.Data.SqlClient namespace to access SQL Server, or providers from other suppliers to access their stores. Use System.Data.Odbc or System.Data.Oledb to access data from .NET languages using other data access technologies. Use System.Data.Dataset when you need an offline data cache in client applications. It also provides local persistence and XML capabilities that can be useful in web services.
18+
ADO.NET is the core data access technology for .NET languages. Use the Microsoft.Data.SqlClient library or Entity Framework to access SQL Server, or providers from other suppliers to access their stores. Use System.Data.Odbc or System.Data.OleDb to access data from .NET languages using other data access technologies. Use System.Data.DataSet when you need an offline data cache in client applications. It also provides local persistence and XML capabilities that can be useful in web services.
19+
20+
21+
22+
::: moniker range=">=sql-server-2016||>=sql-server-linux-2017"
23+
24+
## Getting started (SQL Server)
1725

18-
## Getting started
1926
* [Step 1: Configure development environment for ADO.NET development](step-1-configure-development-environment-ado-net-development.md)
2027
* [Step 2: Create a SQL database for ADO.NET development](step-2-create-sql-database-ado-net-development.md)
2128
* [Step 3: Proof of concept connecting to SQL using ADO.NET](step-3-connect-sql-ado-net.md)
2229
* [Step 4: Connect resiliently to SQL with ADO.NET](step-4-connect-resiliently-sql-ado-net.md)
2330

31+
::: moniker-end
32+
33+
::: moniker range="=azuresqldb-current"
34+
35+
## Getting started (Azure SQL Database)
36+
37+
* [Step 1: Configure development environment for ADO.NET development](step-1-configure-development-environment-ado-net-development.md)
38+
* [Step 2: Create a SQL database for ADO.NET development](/azure/azure-sql/database/single-database-create-quickstart)
39+
* [Step 3: Proof of concept connecting to SQL using ADO.NET](step-3-connect-sql-ado-net.md)
40+
* Step 4: Connect resiliently to SQL with ADO.NET
41+
* [Entity Framework Core with a passwordless connection](/azure/azure-sql/database/azure-sql-dotnet-entity-framework-core-quickstart)
42+
* [Microsoft.Data.SqlClient with a passwordless connection](/azure/azure-sql/database/azure-sql-dotnet-quickstart)
43+
* [Microsoft.Data.SqlClient with a password](step-4-connect-resiliently-sql-ado-net.md)
44+
45+
46+
::: moniker-end
47+
2448
## Documentation
49+
2550
* [ADO.NET Overview](/dotnet/framework/data/adonet/)
2651
* [Getting started with the SqlClient driver](get-started-sqlclient-driver.md)
2752
* [Overview of the SqlClient driver](overview-sqlclient-driver.md)
@@ -30,10 +55,12 @@ ADO.NET is the core data access technology for .NET languages. Use the Microsoft
3055
* [SQL Server and ADO.NET](./sql/index.md)
3156

3257
## Community
58+
3359
* [ADO.NET Managed Providers Forum](https://social.msdn.microsoft.com/Forums/home?forum=adodotnetdataproviders)
3460
* [ADO.NET DataSet Forum](https://social.msdn.microsoft.com/Forums/home?forum=adodotnetdataset)
3561

3662
## More samples
63+
3764
* [ADO.NET Code Examples](/dotnet/framework/data/adonet/ado-net-code-examples)
3865
* [Getting Started with .NET Framework on Windows](https://www.microsoft.com/sql-server/developer-get-started/csharp/win/)
3966
* [Getting Started with .NET Core on macOS](https://www.microsoft.com/sql-server/developer-get-started/csharp/macos/)

docs/connect/ado-net/step-3-connect-sql-ado-net.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ms.topic: conceptual
1919

2020
This C# code example should be considered a proof of concept only. The sample code is simplified for clarity, and does not necessarily represent best practices recommended by Microsoft.
2121

22-
## Step 1: Connect
22+
## 1: Connect
2323

2424
The method **SqlConnection.Open** is used to connect to your SQL database.
2525

@@ -57,7 +57,7 @@ Press any key to finish...
5757
```
5858

5959

60-
## Step 2: Execute a query
60+
## 2: Execute a query
6161

6262
The method SqlCommand.ExecuteReader:
6363

@@ -143,7 +143,7 @@ Press any key to finish...
143143

144144

145145

146-
## Step 3: Insert a row
146+
## 3: Insert a row
147147

148148

149149
This example demonstrates how to:

docs/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to install the Microsoft ODBC Driver for SQL Server on Li
44
author: David-Engel
55
ms.author: v-davidengel
66
ms.reviewer: randolphwest
7-
ms.date: 01/31/2023
7+
ms.date: 03/20/2023
88
ms.service: sql
99
ms.subservice: connectivity
1010
ms.topic: conceptual
@@ -449,7 +449,7 @@ ln -sfn /opt/mssql-tools/bin/bcp-13.0.1.0 /usr/bin/bcp
449449

450450
### Offline installation
451451

452-
If you need the [!INCLUDE[msCoName](../../../includes/msconame-md.md)] ODBC Driver 13 to be installed on a computer with no Internet connection, you'll need to resolve package dependencies manually. The [!INCLUDE[msCoName](../../../includes/msconame-md.md)] ODBC Driver 13 has the following direct dependencies:
452+
If you need the [!INCLUDE[msCoName](../../../includes/msconame-md.md)] ODBC Driver 13 to be installed on a computer with no Internet connection, you must resolve package dependencies manually. The [!INCLUDE[msCoName](../../../includes/msconame-md.md)] ODBC Driver 13 has the following direct dependencies:
453453

454454
- Ubuntu: libc6 (>= 2.21), libstdc++6 (>= 4.9), libkrb5-3, libcurl3, openssl, debconf (>= 0.5), unixodbc (>= 2.3.1-1)
455455
- Red Hat: ```glibc, e2fsprogs, krb5-libs, openssl, unixODBC```
@@ -554,10 +554,12 @@ The ODBC driver on Linux consists of the following components:
554554

555555
## Resource file loading
556556

557-
The driver needs to load the resource file to function. This file is called `msodbcsqlr17.rll` or `msodbcsqlr13.rll` depending on the driver version. The location of the `.rll` file is relative to the location of the driver itself (`so` or `dylib`), as noted in the table above. As of version 17.1 the driver will also attempt to load the `.rll` from the default directory if loading from the relative path fails. The default resource file path on Linux is `/opt/microsoft/msodbcsql17/share/resources/en_US/`.
557+
The driver needs to load the resource file to function. This file is called `msodbcsqlr17.rll` or `msodbcsqlr13.rll` depending on the driver version. The location of the `.rll` file is relative to the location of the driver itself (`so` or `dylib`), as noted in the table above. As of version 17.1 the driver also attempts to load the `.rll` from the default directory if loading from the relative path fails. The default resource file path on Linux is `/opt/microsoft/msodbcsql17/share/resources/en_US/`.
558558

559559
## Troubleshoot
560560

561+
If a version of the driver has been previously installed and registered with unixODBC, installation may fail with an error like `Installation failed, ODBC Driver $1 for SQL Server detected!`. To resolve the problem, unregister that version of the driver. You can unregister drivers via the `odbcinst` command: `odbcinst -u -d -n "ODBC Driver $1 for SQL Server`. (Replace `$1` with the version of the driver reported in the installation error.) If uninstall via the `odbcinst` command fails, you can manually remove driver sections from the `odbcinst.ini` file. You can find the location of the `odbcinst.ini` file via the command `odbcinst -j`.
562+
561563
If you're unable to make a connection to SQL Server using the ODBC driver, see the known issues article on [troubleshooting connection problems](known-issues-in-this-version-of-the-driver.md#connectivity).
562564

563565
## Next steps

0 commit comments

Comments
 (0)