I am looking at a system that is using PyODBC and FreeTDS with a connection similar to the following:
cnxn = pyodbc.connect('DRIVER={SQL Server};SERVER=srv;DATABASE=dbtable;UID=uid;PWD=pwd')
I was wondering if after this connection is made, if it is possible to view the settings that are actually used. We dont currently have access to look at the configuration files
Thanks,
JJ
What information do you need?
You can get many information using
getinfo()(wrapper forSQLGetInfo()):Have a look at
pgtests.pyfor moregetinfo()usage examples.