[DB-SIG] Question about DBI data types
M.-A. Lemburg
mal@lemburg.com
Sat, 02 May 1998 11:49:26 +0200
John Mitchell wrote:
>
> On Thu, 30 Apr 1998, Steve McClure wrote:
>
> > I am using the informixdb module and found that floating point data is
> > being passed back to my Python script truncated to an integer value.
> > After a little code tracing I found that the informixdb implementation
> > is at fault. Now I would like to fix it but the DBI specification is
> > a little vague on what the data should look like.
>
> The informixdb module just sucks. The Date types dont work well -- I had
> to use " select column||'' " because a direct Select would just return a
> date from 1970!
>
> Anyone have a better version? Replacement?
Doesn't Informix provide an ODBC API ? You could use one of the
three ODBC implementations then (PythonWin's odbc, Michael Lausch's
soliddb, or my mxODBC).
--
Marc-Andre Lemburg
......................................................................
| Python Pages: http://starship.skyport.net/~lemburg/ |
--------------------------------------------------------