Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ODBC Concept?

Posted on 2002-03-17
3
Medium Priority
?
961 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 800 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

916 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