Is ODBC the Answer?
Custom applications are prime candidates for native database APIs. The main
reason for this is that custom applications often work with a single DBMS and
have no need to be interoperable. Native database APIs might do a better job than
ODBC of exposing the capabilities of a particular DBMS and might expose
capabilities not exposed by ODBC. Furthermore, because the developers of custom
applications are usually familiar with the native database API for their DBMS, there
is little reason to learn ODBC. However, it is interesting to note that for
some DBMSs, ODBC is the native database API.
So which applications are candidates for ODBC? The best candidates are
applications that work with more than one DBMS. This includes virtually all generic
and vertical applications. It also includes a number of custom applications. For
example, custom applications that use several different DBMSs are much easier
and cleaner to write with ODBC than with multiple native APIs. And custom
applications written with ODBC are much easier to migrate as a company moves from one
DBMS to another or deploys the same application against different DBMSs.