A Python Module to make it easy to script powerful interactions with Teradata Database in a DevOps friendly way.
108
stars
43
forks
source link
Improve error message when calling execute on an already closed cursor. #41
Closed
escheie closed 8 years ago
Currently, when prematurely closing a tdodbc cursor, and then trying to use that cursor, the following error is reported:
teradata.api.InterfaceError: ('SQL_INVALID_HANDLE', 'Invalid handle passed to SQLGetDiagRecW.')
The error message should say instead "Cannot call execute on an already closed cursor." so that developers know the reason for the failure.