pyodbc issue - the session is in the kill state

July 8, 2018 at 08:18:09
Specs: Windows 2012 R2, 4 GB
I have an issue when run python script. I've got this error: pyodbc.Error: ('HY000', u'[HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot continue the execution because the session is in the kill stat e. (596) (SQLExecDirectW)') Note: if I restart SQL server process the script runs OK. Hence it sounds to me like cursor or etc was not closed ... Could someone help me? Thanks

See More: pyodbc issue - the session is in the kill state

Reply ↓  Report •
Related Solutions


Ask Question