What is the use of connecting to sql server using odbc
what is the difference between connecting directly to SQL server and connecting to SQl server using ODBC
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Mar 3, 2014, 8:33 PM EST
If you want to access the DB, then you should have drivers [mostly dlls] & use one of the following way.
.NET Framework Data Provider for SQL Server: Provides data access for Microsoft SQL Server. Uses the System.Data.SqlClient namespace.
.NET Framework Data Provider for OLE DB: For data sources exposed by using OLE DB. Uses the System.Data.OleDb namespace.
.NET Framework Data Provider for ODBC: For data sources exposed by using ODBC. Uses the System.Data.Odbc namespace.
.NET Framework Data Provider for Oracle: For Oracle data sources. The .NET Framework Data Provider for Oracle supports Oracle client software version 8.1.7 and later, and uses the System.Data.OracleClient namespace.
EntityClient Provider: Provides data access for Entity Data Model (EDM) applications. Uses the System.Data.EntityClient namespace.
.NET Framework Data Provider for SQL Server Compact 4.0: Provides data access for Microsoft SQL Server Compact 4.0. Uses the System.Data.SqlServerCe namespace.
For detailed info,
http://msdn.microsoft.com/en-us/library/a6cd7c08%28v=vs.110%29.aspx
Nidadavole Chowdary64 reputationPosted Mar 4, 2014, 12:35 AM EST
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Mar 4, 2014, 1:13 AM EST
The SQL Server Native client driver has been proven to be much faster & you can access only SQL DB..