[DB-SIG] Problem with mx an Oracle

M.-A. Lemburg mal at egenix.com
Thu Mar 25 11:25:41 EST 2004


Kike Peña wrote:
> Hi.
> 
> I have a problem when I try to get an integer value from Oracle with mx....   the problem is that it doesn't return an integer but a float.  It's not a problem with the table colum type because I have try with ALL numeric types and it allways return a float.
> 
> Any ideas?

Oracle has a single numeric type called number. This is mapped
to a Python float since the precision of those numbers is always
 >0.

HTH,
-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Mar 25 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
Python UK 2004, Oxford, UK                                  21 days left
EuroPython 2004, Göteborg, Sweden                           73 days left

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the DB-SIG mailing list