What is deadlock and how to avoid the deadlocks.
Answer Posted / raghu
Consider there are transcations going on 1 row, some one is
trying to update a column in that row while others are
trying to retrive data of same row,while update locks the
row for some period of time others cannot select it, hence
deadlock occurs.
To kill the process is solution. In sql server 2005 use sql
profiler to view the process, in that see the column named
transactions if its value is more than 1 right click and
kill the process.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is the command to change the recovery model?
What are difference between Cluster index and Non-Cluster index?
What is the order by used for?
Can I use sql azure as a backup with log shipping or database mirroring?
Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration
What are the differences between ms sql server & oracle?
Can you tell me about the concept of ER diagrams?
What is the difference between getdate and sysdatetime?
Explain the architecture of ms sql reporting service?
How can we delete a table in sql server?
Explain tables in SQL Azure?
How do I install only the client tools of sql server 2000?
What is the report model project?
Call by value and call by reference in procedure and function, with NOCOPY.
What are the tool windows in sql server management studio? : sql server management studio