December 12, 2024 at 3:37 am
Hi,
Need your help. I've a SP that is using Update statement on a table.
2-3 processes are updating this table at the same time. I'm getting frequent blockage. How can we handle to prevent blockage?
Will using SET XACT_ABORT ON can help?
Or setting to isolation level can help?
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
Kindly suggest.
December 12, 2024 at 8:26 am
I'm getting frequent blockage.
What makes you think this?
Will using SET XACT_ABORT ON can help?
Nothing to do with locking.
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
Will not affect UPDATE locks and potentially dangerous elsewhere.
If you think you have excesive blocking there are plenty of resources. eg
Understand and resolve blocking problems - SQL Server | Microsoft Learn
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply