FAQ
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>

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedMay 25, '11 at 10:03a
activeMay 25, '11 at 10:03a
posts1
users1
websitepython.org

1 user in discussion

Srinivasan munisamy: 1 post

People

Translate

site design / logo © 2022 Grokbase