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 are different types of replication in sql server?

1086


explain different types of backups avaialabe in sql server? : Sql server database administration

969


Explain how to use linked server?

992


Explain linked server in sql?

1225


How you would rewrite the sql query to return the customerid sorted numerically?

1001


What are the basic features of a trigger in ms sql server?

1193


What are the differences between stored procedure and the dynamic sql?

1095


What should be the fill factor for indexes created on tables? : sql server database administration

1139


How do I create an extended event in sql server?

955


Write a SQL queries on Self Join and Inner Join.

1043


What is the new security features added in sql server 2016? : sql server security

1116


What are out-of-range errors with date and time literals?

1030


How many types of subqueries are there in sql server?

992


what's the maximum size of a row? : Sql server database administration

1088


Explain steps of normalization?

1005