A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-May/111637.html below:

[Python-Dev] [pyodbc] Setting values to SQL_* constants while creating a connection object

[Python-Dev] [pyodbc] Setting values to SQL_* constants while creating a connection object [Python-Dev] [pyodbc] Setting values to SQL_* constants while creating a connection objectsrinivasan 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4