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?