[pyodbc] Setting values to SQL_* constants while creating a connection
srinivasan munisamy
srini605 at gmail.com
Wed May 25 06:03:03 EDT 2011
Hi,
I would like to know how to set values to values to SQL_* constants while
creating a 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-list/attachments/20110525/11d57691/attachment.html>
More information about the Python-list
mailing list