How to handle database deadlocks in multi user environment.
I am getting this following error quite often with incomplete DB operations.
"Transaction (Process ID 119) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction"
Will the NOLOCK or ROWLOCK will solve this?


Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted May 19, 2017, 7:32 AM EDT
Secondly, will you be able to share the SQL code so that we can understand more on this?