[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-db-sig
Subject:    [DB-SIG] Question about DBI data types
From:       mcclure () s1 ! com (Steve McClure)
Date:       1998-04-30 22:12:05
Message-ID: 199804302212.SAA27975 () eskimo ! s-1 ! com
[Download RAW message or body]

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.

I thought that perhaps the size, precision or scale elements of the 
description tuple should be used to describe the data.  Are there any
standards in place for handling this?  Defacto perhaps because some
module has implemented it?

Thanks for any direction or help,
Steve
-- 
Steve.McClure@S1.com				Voice 404-812-6613
Security First Technologies			Fax   404-812-6616
3390 Peachtree Road, Suite 1700			http://www.sfnb.com
Atlanta, GA 30326-1108				http://www.s1.com




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic