I am getting deadlock error when updating a table :
Transaction (Process ID 67) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
All other works perfectly fine. The thing making me uncomfortable is I have restarted the server itself 4-5 times how is the dead lock still on table.
Any suggestions?
commit
orrollback
– Peter Smithselect * from sys.dm_exec_sessions where open_transaction_count > 0
to look for long-running transactions in other sessions and then investigate what they're doing. If you've rebooted/restarted SQL Server multiple times already it sounds like something (a service/application) has a persistent problem somewhere. – AlwaysLearning