[Python-Dev] [pyodbc] Setting values to SQL_* constants while creating a connection object
srinivasan munisamy
srini605 at gmail.com
Tue May 24 23:09:47 CEST 2011
Hi,
I would like to know how to set values to values to SQL_* constants while
creatinga db connection through pyodbc module.
For example, i am getting a connection object like below:
In [27]: dbh1 =
pyodbc.connect("DSN=<dsn>;UID=<uid>;PWD=<pwd>;DATABASE=<database>;APP=<app_name>")
In [28]: dbh1.getinfo(pyodbc.SQL_DESCRIBE_PARAMETER)
Out[28]: True
I want to set this SQL_DESCRIBE_PARAMETER to false for this connection
object. How could i do that?
Please help me in figuring it out.
Thanks,
Srini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110525/b6a71e01/attachment.html>
More information about the Python-Dev
mailing list