I think I understand the basics of what causes deadlocks but I keep having a deadlock on this update statement and I can't understand why or how to fix the problem. Any insights would be much appreciated!
UPDATE player
SET money = money + a.salary
FROM #wages a (NOLOCK), player b...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.