Installation guide

mxODBC - Python ODBC Database Interface
TUPLE_DATETIMEFORMAT
Python tuples as defined in the Supported Data Types section.
STRING_DATETIMEFORMAT
Python strings. The format used depends on the internal settings of the
database. See your database's manuals for the exact format and ways to
change it.
We strongly suggest always using the DateTime/DateTimeDelta instances.
Note that changing the values of this attribute will not change the date/time
format for existing cursors using this connection.
This value is inherited by all cursors created from the connection at creation
time. Note that changing the value of this attribute will not change the
date/time format for existing cursors using this connection.
.dbms_name
String identifying the database manager system.
.dbms_version
String identifying the database manager system version.
.decimalformat
Use this instance variable to set the default output format for decimal and
numeric columns of all cursors created using this connection object.
Possible values are (see the Constants
section 10.5 for details):
FLOAT_DECIMALFORMAT (default)
Values are returned as Python floats.
DECIMAL_DECIMALFORMAT
Values are returned as Python decimal.Decimal instances. Only
available using Python 2.4 and later.
This value is inherited by all cursors created from the connection at creation
time. Note that changing the value of this attribute will not change the decimal
format for existing cursors using this connection.
.driver_name
String identifying the ODBC driver.
.driver_version
String identifying the ODBC driver version.
.encoding
Read/write attribute which defines the encoding to use for converting Unicode
to 8-bit strings and vice-versa. If set to
None (default), Python's default
encoding will be used, otherwise it has to be a string providing a valid
encoding name, e.g.
'latin-1' or 'utf-8'.
96