kinterbas db column type

Gandalf gandalf at geochemsource.com
Wed Nov 26 11:47:04 EST 2003


>>> i need to know the database column types returned by kinterbasdb.
>>> Implicit type conversion is i nice thing to have, but it hides the 
>>> real types in the database.
>>> So how could i get this information? 
>>
>>
>> RDB$RELATIONS - this stores table information
>> RDB$FIELDS - this is for the fields (here you have the RDB$FIELD_TYPE 
>> field)
>> RDB$RELATION_FIELDS - connects relations to fields
>>
> Does this mean, that the kinterbasdb isn't DB-API 2.0 compliant?
>
It is DB-API 2.0 compilant. I'm sorry, maybe I misunderstood you. This 
is a way
to get the column types in InterBase inside. Do you want to know the 
Python types
in the row returned by .fetch()?






More information about the Python-list mailing list