In the current mdbtools-0.6pre1, the implementation of
SQLGetInfo() does nothing.
[ The current implementation leaves the return
parameters unitialized, and returns SQL_SUCCESS, which
(IMHO) is poor style, as the caller is left to debug
why it didn't do what it says it sucessfully did... :-< ]
Although I don't have the specific details about what
this function does, its purpose includes getting
information from the driver - Information that may
vary between different ODBC databases (and maybe
between different drivers?)
Thus, for generic ODBC code that is tryting to support
a wide number of ODBC drivers/databases, it is
important to use this function to avoid hard-coding
incorrect information within the code. Unfortunately,
v0.6 won't be of any use to me unless I can use this
function (Short of hard-coding everything for Access,
which is an unacceptable limitation in our code).
Specifically, I'm looking to use (and their results
from a test using Microsoft Acces Driver 4.00.6019.00):
- SQL_IDENTIFIER_QUOTE_CHAR= '`'
Perhaps mdbtools can simply hard-code these (since it
is only working with Access)? I don't know if these
vary between different versions of Access...
Lemme know if you need any more info, or if you want me
to try anything...
Log in to post a comment.