Viewing 3 posts - 1 through 4 (of 4 total)
Yes I've done that already to an extent and didn't find way to remove this since 99% of time this transaction runs just fine.
Why I asked about the xlock select...
December 10, 2015 at 2:09 pm
Yes that's true. I was wondering should I do select in the beginning of the transaction with all the participating hour Ids with xlock like:
SELECT * FROM [hour] WITH(XLOCK) WHERE...
December 10, 2015 at 1:05 pm
Deadlock occures at the end of long invoicing transaction. First each hour row gets information about invoice from update. Lastly comes creation of invoice rows and these are updated to...
December 10, 2015 at 12:35 pm
Viewing 3 posts - 1 through 4 (of 4 total)