I'm getting a DatabaseError in an INSERT statement but it returns no exception message as far as I
can tell. If I understand correctly FreeTDS supports logging using the TDSDUMP environment variable,
however it gives absolutely no indication of what is logged. I have a couple questions:
1. Can I modify that on-the-fly and have it take effect or does it need to be set when the process
starts?
2. Will SQL statements even turn up in the log file?
3. If not, is there a way in pymssql to force statement logging?
Thx,
Skip Montanaro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm getting a DatabaseError in an INSERT statement but it returns no exception message as far as I
can tell. If I understand correctly FreeTDS supports logging using the TDSDUMP environment variable,
however it gives absolutely no indication of what is logged. I have a couple questions:
1. Can I modify that on-the-fly and have it take effect or does it need to be set when the process
starts?
2. Will SQL statements even turn up in the log file?
3. If not, is there a way in pymssql to force statement logging?
Thx,
Skip Montanaro