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 ZeeshanPosted May 19, 2017, 11:32 AM
Secondly, will you be able to share the SQL code so that we can understand more on this?