Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

DeadLock

$
0
0
Hi Experts,I have observed deadlock graph in one of our servers. It was due to a procedure which is doing an update.ALTER PROCEDURE [dbo].[MessageLogs] @TrackID nvarchar(100)=NUll, @Status nvarchar(20)=NUll, @Description nvarchar(max)=NUll ASBEGIN SET NOCOUNT ON;Update Logs set Status=@Status, statusDescription =COALESCE(statusDescription,'')+'\\'+ @Description where Trackid=@TrackIDThe trackID is always unique, what can be the reason for deadlock. The page ID is also different for the process involved in Deadlock.

Viewing all articles
Browse latest Browse all 6525

Trending Articles