Re: Which database support?
- From: "Roy Fine" <rlfine@xxxxxxxxxxxxx>
- Date: Fri, 8 Jul 2005 17:45:29 -0400
Joe,
ADO is likely the better way to go, although ODBC is a close second. DAO
is OK, but *only* if the target database is based on the MSFT Jet Engine
(e.g. MS Access database, although MS Access is not a requirement, just the
Jet runtime)
ADO is built on OLEDB; Both are based on a set of interfaces defined by
Microsoft, so don't expect to see any provider specific capabilities
available in either. ADO, when compared to OLEDB, provides a lot of
features that can cut the development time by a factor of 10 or better.
Performance is comparable, especially when accessing a database over a LAN.
The ADO typelib, with the #import directive, provides a good set of
smartpointer classes and exception handling wrapper functions - and that has
a very positive impact on application robustness as well development time.
The documentation for ADO is quite good - albeit mostly written for the VB
programmer. Documentation for OLEDB is pathetically inadequate.
ODBC is ODBC - it has been around for a long time. MFC has good support for
connections and recordsets, but little else; ODBC has a lot of capabilities
and is a decent performer when programmed at the API, but is a bit tedious
(falling somewhere between ADO and OLEDB in this regard). Documentation for
the ODBC is good compared to OLEDB, and is comparable to that of ADO.
OLEDB and ODBC drivers exists for the popular databases - SqlServer, Jet,
Oracle, MySql, etc, etc... ADO will work for any database technology that
provides an OLEDB implementation.
regards
roy fine
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:dnptc1puootpg9ibkrqe3epqg148ecrvgf@xxxxxxxxxx
> I don't do databases much (well, the last database work I did was about
eight years ago).
> But one of my clients needs to understand which of the many buzz-acronyms
should be used
> for database work. DAO has apparently been deprecated in VS7, which leaves
ADO, ODBC and
> OLEDB as options. To me these are largely meaningless terms, but if anyone
has a
> suggestion I can pass on as to which way new development should go, I'd
appreciate it.
> joe
>
> Joseph M. Newcomer [MVP]
> email: newcomer@xxxxxxxxxxxx
> Web: http://www.flounder.com
> MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Which database support?
- From: Joseph M . Newcomer
- Re: Which database support?
- From: Joseph M . Newcomer
- Re: Which database support?
- References:
- Which database support?
- From: Joseph M . Newcomer
- Which database support?
- Prev by Date: Re: Need expert advice (CString)
- Next by Date: Re: Which database support?
- Previous by thread: Which database support?
- Next by thread: Re: Which database support?
- Index(es):
Relevant Pages
|