[DB-SIG] Question about DBI data types

John Mitchell johnm@magnet.com
Fri, 1 May 1998 12:43:08 -0400 (EDT)


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?


- j