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
Solved

ODBC Concept?

Posted on 2002-03-17
3
955 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: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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

791 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