Skip to content

Latest commit

 

History

History
101 lines (61 loc) · 6.25 KB

SQL Server Drivers.md

File metadata and controls

101 lines (61 loc) · 6.25 KB

SQL Server Drivers

SQL Server supports a wide variety of drivers, which are used by client applications or services to connect and query for data. Please see below for a summary of the different drivers, both current and legacy.

SQL Server Drivers

Driver feature support matrix for Microsoft SQL Server

Driver feature support matrix for Microsoft SQL Server If you're planning to use a feature in Microsoft SQL Server, it might not be available in all drivers. Some reasons a feature might not be in a particular driver include:

  • The feature doesn't apply to the driver technology.
  • The feature is new and hasn't been implemented across all drivers yet.
  • The feature isn't in demand in a particular driver.
  • Other features are being implemented first. We wish all drivers supported every feature and spend effort to ensure feature parity across drivers. However that isn't always possible. To help you choose the appropriate driver for your needs, here's a list of popular features and the drivers that implement them.

Current SQL Drivers

The following SQL Drivers are actively developed. Each driver has a support statement that can be found by following the links.

ADO.NET

ADO.NET is a library that is a standard part of the .Net framework. It is a C# implementation of the TDS protocol, which is supported by all modern versions of SQL Server. This driver is developed, tested, and supported by Microsoft.

Microsoft ADO.NET for SQL Server | Download .Net Driver

JDBC

The JDBC SQL driver is a Java implementation of the TDS protocol, which is supported by all modern versions of SQL Server. This driver is developed, tested, and supported by Microsoft.

Microsoft JDBC Driver for SQL Server | Download JDBC Driver

ODBC

The ODBC SQL driver is a C++ implementation of the TDS protocol, which is supported by all modern versions of SQL Server. This driver is developed, tested, and supported by Microsoft.

Microsoft ODBC Driver for SQL Server | Download ODBC Driver

PHP

The PHP SQL driver relies on the Microsoft SQL Server ODBC Driver to handle the low-level communication with SQL Server. This driver is developed, tested, and supported by Microsoft.

Microsoft PHP Driver for SQL Driver | Download PHP Driver | Github

Node.js

The tedious module is a javascript implementation of the TDS protocol, which is supported by all modern versions of SQL Server. The driver is an open source project, available on Github.

Node.js Driver for SQL Server | Install Node.js Driver

Python

The pymssql module is a Python implementation of the TDS protocol, which is supported by all modern versions of SQL Server.

Python Driver for SQL Server

There are several python SQL Drivers available. Choose which one you want to use, and configure your development environment:

  1. Python SQL Driver - pyodbc
  2. Python SQL Driver - pymssql

Ruby

The TinyTDS gem is a Ruby implementation of the TDS protocol, which is supported by all modern versions of SQL Server.

Ruby Driver for SQL Server | Install Ruby Driver

Rails

The SQL Server adapter for ActiveRecord v5.1 using SQL Server 2012 or higher.

SQL Server Adapter For Rails

Legacy SQL Drivers

The following SQL Drivers were developed and tested by Microsoft, but are not recommended to be used for new development. Each driver has a support statement that can be found by following the links.

OLEDB

The OLE DB provider will not be included after SQL Server 2012.

Microsoft OLE DB

ADO

The ADO SQL driver has a direct dependency on the OLE DB provider. As such, it will not be supported after SQL Server 2012.

ActiveX Data Objects (ADO)

Another alternatives