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

How to create a view with data from multiple tables?

1061


Define indexes?

1094


what protocol both networks use? : Sql server database administration

1016


What is updatable resultset?

1070


Which command is used for user defined error messages?

1103


What is a document index?

1072


What is the difference between sql server 2000 object owner and sql server 2005 schema? : sql server database administration

1037


What are built in functions?

1067


what are the new features in SSRS?

145


How would we use distinct statement? What is its use?

1121


What is named query? : sql server analysis services, ssas

1001


What is delete query?

990


How to manipulate data from one table to another table ?

1017


how can a database be repaired? : Sql server administration

1016


what is difference between NULL and ISNULL in SQL Server 2008?

1058