Tag Archives: close and reopen the cursor.

SQL Error : Msg 617, Level 20, State 1, Line 1 Descriptor for object ID %ld in database ID %d not found in the hash table during attempt to unhash it. A work table is missing an entry. Rerun the query. If a cursor is involved, close and reopen the cursor.

SQL Server Error Message: "Msg 617, Level 20, State 1, Line 1 Descriptor for object ID %ld in database ID %d not found in the hash table during attempt to unhash it. A work table is missing an entry. Rerun the query. If a cursor is involved, close and reopen the cursor." What and Why [...]