Getting column names from a cursor using ODBC module?

dananrg at yahoo.com dananrg at yahoo.com
Sat Jun 21 09:58:47 EDT 2008


Is there any way to retrieve column names from a cursor using the ODBC
module? Or must I, in advance, create a dictionary of column position
and column names for a particular table before I can access column
values by column names? I'd prefer sticking with the ODBC module for
now because it comes standard in Python.

I'm using Python 2.4 at the moment.

Thanks.



More information about the Python-list mailing list