Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 27899

SQL Server 2005 (major build version 9.00.xxxx). Please also tag sql-server.

0 votes
1 answer
3k views

Why are these two INSERTs deadlocking? Is it the trigger? What does this deadlock trace 1222...

We are seeing intermittent deadlocks in production when receiving multiple simultaneous API requests. Each request basically culminates in an INSERT statement into the same table, which is where we se …
Jordan Rieger's user avatar
1 vote
Accepted

Why are these two INSERTs deadlocking? Is it the trigger? What does this deadlock trace 1222...

I didn't get a chance to rerun the trace and capture the more nicely formatted XDL file, but in the meantime I was able to resolve the issue by removing all the isolation level and locking hints from …
Jordan Rieger's user avatar