Installation guide
12. mxODBC Globals and Constants 
EIGHTBIT_STRINGFORMAT, MIXED_STRINGFORMAT, UNICODE_STRINGFORMAT, 
NATIVE_UNICODE_STRINGFORMAT 
Integer values which are used by connection.stringformat and 
cursor.stringformat. 
mxODBC can handle different string conversion methods on a per connection 
and per cursor basis. See the documentation of the two attributes for more 
information. 
ERROR_WARNINGFORMAT, WARN_WARNINGFORMAT, IGNORE_WARNINGFORMAT 
Integer values which are used by connection.warningformat and 
cursor.warningformat. 
mxODBC can use different ways of reporting database warnings on a per 
connection and per cursor basis. See the documentation of the two attributes 
for more information. 
FLOAT_DECIMALFORMAT, DECIMAL_DECIMALFORMAT 
Integer values which are used by connection.decimalformat and 
cursor.decimalformat. 
mxODBC can handle different output formats for numeric and decimal 
database column types on a per connection and per cursor basis. See the 
documentation of the two attributes for more information. 
HAVE_UNICODE_SUPPORT 
Integer flag which is either 0 or 1 depending on whether mxODBC was 
compiled with Unicode support or not. Unicode support is always available in 
mxODBC 3.1 and later so this flag is always set to 
1. 
RowFactory 
A reference to the mx.ODBC.Misc.RowFactory module which provides access 
to a set of standard row factory functions which can be used for 
cursor.rowfactory. See section 13 mx.ODBC.Misc.RowFactory Module for 
details on the available API and section 5.9 Custom Cursor Row Objects and 
Row Factory Functions for usage examples. 
SQL 
Singleton object which defines nearly all values available in the ODBC 3.5 
header files. The "
SQL_" part of the ODBC symbols is omitted, e.g. 
SQL_AUTOCOMMIT is available as SQL.AUTOCOMMIT. 
apilevel 
String constant stating the supported DB API level. This is set to '2.0', since 
mxODBC supports the features of the DB API 2.0 standard. Many DB API 1.0 
features are still supported too for backward compatibility. 
errorclass 
Writeable dictionary mapping SQL error code strings (ODBC's SQLSTATE) to 
exception objects used by the module. 
169 










