Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences Between Drivers for ODBC Drivers

I was setting up the System DSN (64 bit) for my database in SQL server 2016 with Windows 10 64 bit pro. While I was asked to choose the driver to set up a data source, there are the following selections:

  • ODBC Driver 13 for SQL Server
  • SQL Server
  • SQL Server Native Client 11.0
  • SQL Server Native Client RDA 11.0

It seemed I can set up the data source with all of these drivers. Then which one should I choose in terms of speed and efficiency? What's the difference between them?

Thanks,

Jason

like image 767
Jason Avatar asked Sep 11 '16 19:09

Jason


People also ask

Are all ODBC Drivers the same?

Because different technologies have different capabilities, most ODBC drivers do not implement all functionality defined in the ODBC standard. Some drivers offer extra functionality not defined by the standard.

Which ODBC driver should I use for SQL Server?

Microsoft ODBC Driver for SQL Server (MSODBCSQL) Driver history for Microsoft SQL Server recommends this driver in preference to "SQL Server" and "SQL Server Native Client" for ODBC.

What are ODBC Drivers?

An ODBC driver uses the Open Database Connectivity (ODBC) interface by Microsoft that allows applications to access data in database management systems (DBMS) using SQL as a standard for accessing the data. ODBC permits maximum interoperability, which means a single application can access different DBMS.

What is the difference between ODBC 32-bit and 64-bit?

More information. The 64-bit ODBC Administrator tool can be invoked from Control Panel to manage user DSNs and system DSNs that are used by 64-bit processes. On a 64-bit operating system, the 32-bit ODBC Administrator tool is used for Windows on Windows 64 (WOW64) processes.


1 Answers

ODBC Driver for SQL Server

ODBC is the primary native data access API for applications written in C,C++, PHP, Python and others for connecting to SQL Server.

It's widely used in data integration scenarios.

Also, it's preferred if you are developing application on Windows and deploying it to Linux .

SQL Server

The full name of SQL Server Driver is SQL Server ODBC Driver. It’s an old driver since sql 2000. You can use it to connect to SQL Server 2016, but you will not be able to access new features and functionality of SQL Server 2016

SQL Server Native Client

SQL Server Native Client is containing both the SQL OLE DB provider and SQL ODBC driver to support native connectivity to SQL Server and support all features of sql server 2016. It's the best in windows environment

SQL Server Native Client RDA

Remote data access (RDA) in Microsoft SQL Server Compact 3.5 lets an application access data from a remote SQL Server database table.

It can also store, read, and update that data in SQL Server Compact 3.5, and then update the original SQL Server table.

RDA will be removed in the future release, so avoid using it.

So choose sql driver based on the criteria above.

like image 119
M.Hassan Avatar answered Sep 23 '22 23:09

M.Hassan