[AccessD] OLEDB vs ODBC

Jim DeMarco Jdemarco at hudsonhealthplan.org
Thu Apr 28 11:24:17 CDT 2005


Here's a good one for you.  M$ has long been telling us to use OLEDB via ADO to access our SQL data.  We've been doing just that and in researching an issue where some BLOB image data is pegging our server CPUs when uploading via remote network connections I found a KB article that mentions that there is a bug in the way OLEDB handles large amounts of BLOB data and that the ODBC drivers should be used instead.

My question:  Our application (thankfully) uses an n-tier architecture and all the data access is done via centralized components.  I know using ODBC will require modding the connect string.  Once we've got a connection to the database via ODBC will our existing ADO OLEDB code break? AFAIK we're using connection objects, recordsets and command objects.  Is there a lot of SQL specificity in the way we would access these objects using OLEDB?

TIA

Jim DeMarco
Director of Application Development
Hudson Health Plan



***********************************************************************************
"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
***********************************************************************************




More information about the AccessD mailing list