# Microsoft.Data.SqlClient (NuGet)

The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL and encapsulate database-specific protocols, including tabular data stream (TDS).

      Commonly Used Types:
      Microsoft.Data.SqlClient.SqlConnection
      Microsoft.Data.SqlClient.SqlException
      Microsoft.Data.SqlClient.SqlParameter
      Microsoft.Data.SqlClient.SqlDataReader
      Microsoft.Data.SqlClient.SqlCommand
      Microsoft.Data.SqlCli

- Latest: 8.0.0 (2026-11-26)
- Licence: MIT
- Downloads: 1811281328 all time
- Advisories on the latest version: 0

- CVE-2024-0056 HIGH: Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass  Fixed in 3.1.5, 4.0.5, 5.1.3.
- CVE-2022-41064 MODERATE: .NET Information Disclosure Vulnerability Fixed in 1.1.4, 2.1.2.

Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
