Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the temp table?

903


What gets stored inside msdb database?

1233


What is explicit cursors?

1051


What is a sql join?

1001


What is an expensive query?

914


tell me what is blocking and how would you troubleshoot it? : Sql server database administration

880


how to control the amount of free space in your index pages? : Sql server database administration

1021


How to create nested stored procedure?

1000


Can a table be created inside a trigger?

956


How to find tables without indexes?

1077


How except clause is differs from not in clause?

939


What happens if you are trying to access a schema not owned by you?

958


What is SQL Azure Firewall?

136


How to delete an existing database user?

1002


When to use null data driven subscription?

204