Negative spid in SQL SERVER.

No comments

When you have a negative spid ( ex: -2) in SQL SERVER, it is related with Microsoft Distributed Transaction Coordinator (MSDTC).

You can do it from 2 different ways:

Outside SQL SERVER, in component services > DTC > Transactions > rollback the transaction.

OR

select distinct req_transactionUOW from syslockinfo , ignore the 000000’s

kill ‘GUID’ . ( ghost/orphaned transaction ).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s