Solved

ODBC Concept?

Posted on 2002-03-17
3
958 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 6873645
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
ID: 6873649
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:
Mohammed Nasman earned 200 total points
ID: 6873671
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Suggested Courses
Course of the Month4 days, 5 hours left to enroll

630 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