Download Microsoft SqlClient Data Provider for SQL Server

The Microsoft.Data.SqlClient library is distributed as a NuGet package. Add a NuGet reference to Microsoft.Data.SqlClient. NuGet packages are easily consumed directly from a .NET project without the need to manually download anything. If you use Visual Studio for development, see Install and use a package. For other ways to consume a NuGet package, see the NuGet documentation.

Downloading the driver

If you need to download the Microsoft.Data.SqlClient package for offline use, it's available on NuGet.org. Refer to the dependencies section from the links below to download the dependencies.

For more information about version compatibility and support, see SQL version compatibility with Microsoft.Data.SqlClient.

Download stable versions of Microsoft SqlClient Data Provider for SQL Server