I have seen a couple of threads recommending OLE-DB over ODBC, but none explaining why (at least, I did not find any). Would anyone be willing to explain exactly why OLE-DB is better than ODBC? Can anyone give specific quantitative reasons why they judge OLE-DB to be better/faster/stronger than ODBC?
As a side-note, I use SQL Server and DB2, accessing data from both Windows and Web front-ends. We also will be bringing Oracle in soon.
Thanks for your time.
Londonbab
Delphi Developer
Sun, 27 Jul 2003 19:48:34 GMT
Re:ado/ole-db vs odbc
The theory is that OLE-DB uses native drivers, and is therefore faster - in my experience this seems to be true, especially with Access and Oracle. Niall
Quote
J O Holloway wrote: > I have seen a couple of threads recommending OLE-DB over ODBC, but none > explaining why (at least, I did not find any). Would anyone be willing to > explain exactly why OLE-DB is better than ODBC? Can anyone give specific > quantitative reasons why they judge OLE-DB to be better/faster/stronger than > ODBC?
> As a side-note, I use SQL Server and DB2, accessing data from both Windows > and Web front-ends. We also will be bringing Oracle in soon.