[DB-SIG] IBM DB2
Tue, 7 Dec 1999 10:47:25 -0500
M.-A. Lemburg [firstname.lastname@example.org] wrote:
> Griesser Reto wrote:
> > Hi
> > I'm new to Python and i'm looking for an API for IBM DB2.
> > How can I connect to a DB2-Database directly, not over ODBC?
> > Is for that some software needed, avaliable?
> You could take mxODBC and link against the IBM CLI libs. AFAIK,
> there is no supported native interface to DB2. Long ago there
> was an interface lib which you could use directly, but IBM
> put the EmbeddedSQL precompiler on top of it, hiding it rather well
> from general exposure.
IBM's official position is that CLI is the "native interface" in the
newer releases. They also have an "administrative API" which gives you
access too all kinds of underlying admin stuff (like destroying
and managing tablespace on disk, replicating databases, etc).
| Christopher Petrilli