|
| 1 | +# SQL Server Drivers |
| 2 | +SQL Server supports a wide variety of drivers, which are used by client applications or services to connect and query for data. |
| 3 | +Please see below for a summary of the different drivers, both current and legacy. |
| 4 | + |
| 5 | +[SQL Server Drivers](https://docs.microsoft.com/en-us/sql/connect/sql-server-drivers) |
| 6 | + |
| 7 | + |
| 8 | +## Current SQL Drivers |
| 9 | +The following SQL Drivers are actively developed. Each driver has a support statement that can be found by following the links. |
| 10 | + |
| 11 | +### ADO.NET |
| 12 | +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. |
| 13 | +This driver is developed, tested, and supported by Microsoft. |
| 14 | + |
| 15 | +[Microsoft ADO.NET for SQL Server](https://docs.microsoft.com/en-us/sql/connect/ado-net/microsoft-ado-net-for-sql-server) | [Download .Net Driver](http://www.microsoft.com/net/download/) |
| 16 | + |
| 17 | + |
| 18 | +### JDBC |
| 19 | +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. |
| 20 | + |
| 21 | +[Microsoft JDBC Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server) | [Download JDBC Driver](https://go.microsoft.com/fwlink/?linkid=852460) |
| 22 | + |
| 23 | + |
| 24 | +### ODBC |
| 25 | +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. |
| 26 | + |
| 27 | +[Microsoft ODBC Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/odbc/microsoft-odbc-driver-for-sql-server) | [Download ODBC Driver](https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server) |
| 28 | + |
| 29 | + |
| 30 | +### PHP |
| 31 | +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. |
| 32 | + |
| 33 | +[Microsoft PHP Driver for SQL Driver](https://docs.microsoft.com/en-us/sql/connect/php/microsoft-php-driver-for-sql-server) | [Download PHP Driver](https://www.microsoft.com/en-us/download/details.aspx?id=20098) | [Github](https://github.com/Microsoft/msphpsql) |
| 34 | + |
| 35 | + |
| 36 | +### Node.js |
| 37 | +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. |
| 38 | + |
| 39 | +[Node.js Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/node-js/node-js-driver-for-sql-server) | [Install Node.js Driver](http://msdn.microsoft.com/library/mt652094.aspx) |
| 40 | + |
| 41 | + |
| 42 | +### Python |
| 43 | +The pymssql module is a Python implementation of the TDS protocol, which is supported by all modern versions of SQL Server. |
| 44 | + |
| 45 | +[Python Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/python/python-driver-for-sql-server) |
| 46 | + |
| 47 | +There are several python SQL Drivers available. Choose which one you want to use, and configure your development environment: |
| 48 | +1. [Python SQL Driver - pyodbc](https://docs.microsoft.com/en-us/sql/connect/python/pyodbc/python-sql-driver-pyodbc) |
| 49 | +2. [Python SQL Driver - pymssql](https://docs.microsoft.com/en-us/sql/connect/python/pymssql/python-sql-driver-pymssql) |
| 50 | + |
| 51 | + |
| 52 | +### Ruby |
| 53 | +The TinyTDS gem is a Ruby implementation of the TDS protocol, which is supported by all modern versions of SQL Server. |
| 54 | + |
| 55 | +[Ruby Driver for SQL Server](https://docs.microsoft.com/en-us/sql/connect/ruby/ruby-driver-for-sql-server) | [Install Ruby Driver](http://msdn.microsoft.com/library/mt711041.aspx) |
| 56 | + |
| 57 | + |
| 58 | +## Legacy SQL Drivers |
| 59 | +The following SQL Drivers were developed and tested by Microsoft, but are not recommended to be used for new development. |
| 60 | +Each driver has a support statement that can be found by following the links. |
| 61 | + |
| 62 | + |
| 63 | +## OLEDB |
| 64 | +The OLE DB provider will not be included after SQL Server 2012. |
| 65 | + |
| 66 | +[Microsoft OLE DB](https://msdn.microsoft.com/library/ms722784.aspx) |
| 67 | + |
| 68 | + |
| 69 | +### ADO |
| 70 | +The ADO SQL driver has a direct dependency on the OLE DB provider. As such, it will not be supported after SQL Server 2012. |
| 71 | + |
| 72 | +[ActiveX Data Objects (ADO)](https://docs.microsoft.com/en-us/sql/ado/guide/data/activex-data-objects-ado) |
| 73 | + |
| 74 | + |
| 75 | +## Another alternatives |
| 76 | + - [Devart ODBC Drivers](https://www.devart.com/odbc/) |
| 77 | + - [SNAC - SQL Server Native Client](https://docs.microsoft.com/en-us/sql/relational-databases/native-client/sql-server-native-client) |
| 78 | + - [RODBC: ODBC Database Access CRAN](https://mran.microsoft.com/package/RODBC/) |
| 79 | + - [RODBC: ODBC Database Access MRAN](https://mran.microsoft.com/package/RODBC/) |
| 80 | + - [go-mssqldb - Microsoft SQL server driver written in go language](https://github.com/denisenkom/go-mssqldb) |
| 81 | + - [Node TDS module for connecting to SQL Server databases](https://github.com/tediousjs/tedious/) |
| 82 | + - [SQLProvider - a general .NET/Mono SQL database type provider](https://github.com/fsprojects/SQLProvider) (Other database support: SQL Server, SQLite, PostgreSQL, Oracle, MySQL (& MariaDB), MsAccess, Firebird) |
| 83 | + - [RSQLServer - an R package that provides a SQL Server R Database Interface (DBI), based on the cross-platform jTDS JDBC driver](https://github.com/imanuelcostigan/RSQLServer) |
| 84 | + - [jTDS JDBC driver](http://jtds.sourceforge.net/index.html) |
0 commit comments