- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsTo try to resolve deadlocks in my DB, as per recommendations in BOL and MSDN, I'm going through my transactions, and, in cases where they:
1. select rows from a deadlocking table
2. do lots more processing within the transaction
3. then do updates on the same table before ending the transaction
I am proceeding to add the 'UPDLOCK' and 'ROWLOCK' hints to the select statements. This seems safe enough to me, in the sense that as the DB normally operates at the default level of Read Commited, I don't think any functionality will be affected.
However...
I've now come to a case like in 1...2..3 above, where the original developer has added a (HOLDLOCK) hint to the select statement I was going to use (UPDLOCK, ROWLOCK) with.
Points go to the person who tells me IN PLAIN ENGLISH what the data integrity implications would be of changing the current
"select blah from blah WITH(HOLDLOCK)"
to
"select blah from blah WITH(UPDLOCK, HOLDLOCK)"
and to
"select blah from blah WITH(UPDLOCK, HOLDLOCK, ROWLOCK)"
in my transaction, bearing in mind there's loads of concurrency, with other users and apps reading and updating the same table constantly.
Thanxb4
This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership