Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Transaction (Process ID 60) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction

$
0
0

Hi,

I have the query like

SELECT mp.* 
FROM 
dbo.PropertDetail mp
LEFT JOIN dbo.PeropertyKey mk 
ON mp.KeyID = mk.KeyID
WHERE 
mk.PropertyTime >= (SELECT DATEADD(HH, -2, MAX(PropertyTime)) FROM PropertyKey)
AND error<>0

Error: Transaction (Process ID 60) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction

 When I process this SQL stmt in a ETL package I'm getting the above error.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>