(original) (raw)

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