Solved

ODBC Concept?

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

810 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