[pywin32-bugs] odbc.cpp: Lowercase desctiption - Bug or feature?
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Andre R. <re...@in...> - 2004-02-26 22:37:06
|
File: win32/src/odbc.cpp ----------------------------------------------- static int bindOutput(cursorObject *cur) ... SQLDescribeCol( cur->hstmt, pos, (unsigned char *) name, (short) sizeof(name), &nsize, &vtype, &vsize, &scale, &nullok); name[nsize] = 0; =====>>> _strlwr(name); ----------------------------------------------- Hi Mark, your Python Odbc-driver works great, but we have a problem with it: We rely on the Columnnames we get from the driver. MSSQLServer is Casesensitive with fieldnames (settings of the DB of our customer). The problem is that we get the columname in lowercase (_strlwr). Is there a special reason why you translate the columnnames to lowercase? in other words, bug or feature? Thank you very much in advance, Greetings, Andre' |