Solved

ODBC Concept?

Posted on 2002-03-17
3
944 Views
Last Modified: 2012-06-21
Hi,

Can anyone explain the use of OLE DB provider.

Is my understanding correctly?

When I use a OLE DB provider, e.g. the ole db provider for SQL server, the odbc driver will not be involved.

Thus the flow of the connection will like this:

ADO --> OLEDB provider for SQL server --> SQL Server...
(NO odbc driver will be involved?

Am I correct?
Furhter, the performance of this will be better than using the ODBC drvier?

Thanks!


0
Comment
Question by:DoraMeMe
  • 2
3 Comments
 
LVL 22

Expert Comment

by:mnasman
Comment Utility
Hello

  Yes, you are right

  the OLE DB have native drivers to connect the MS SQL server and oracle, and for some more, and for the databases that you cann't find native drive you can use the ODBC drives for it

 and using OLE db is more faster than using the ODBC, so when you have Native drives use it instead of ODBC
0
 

Author Comment

by:DoraMeMe
Comment Utility
Hi mnasman,

I read some articles. It points out we can make a connection of DNS-less connection to the database.

What does this mean? Will this connection using the ODBC drvier or OLD DB interface?

Thanks!
0
 
LVL 22

Accepted Solution

by:
mnasman earned 200 total points
Comment Utility
Hello

  In the early days of OLE DB it was uses the ODBC drivers, but later MS add the native drives, if you have native drive for your database, this will use it without ODBC, but if there's no Native drives, then it will uses the ODBC

I think the DNS-Less uses the ODBC (I'm not sure of that), cuz the ODBC support the connection pooling

in the http://www.sql-server-performance.com site i found some info will be useful to you

"If you have a choice between using ODBC or OLE DB to access your SQL Server database, choose OLE DB as it is generally faster. [7.0, 2000] "

look at the more here
http://www.sql-server-performance.com/odbc_oledb.asp

Best regards
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now