If a SQL Server 2008r2 database were receiving update statements to both a child table, and also to the parent table (related by a Foreign Key constraint) at the same time, would the update statements be able to create a deadlock situation?
Note based on comments: The fields being updated in this situation are not the key fields, they are just counter fields.
Thanks.
Yes you can. Here’s proof:
I tested this and was able to produce a deadlock.