Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

deadlock - sql

$
0
0

i have run the follwing script in sql server 2008. but causing the error:
"Transaction (Process ID 165) was deadlocked on lock resources with another process and has been chosen as the deadlock victim."

my script as belows:

select * from tableA

update tableA set name=j,address=b where name is null

select * from tableA


how to fix it?


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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