ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What is a deadlock and what is a live lock? How will you go 
about resolving deadlocks?
 Question Submitted By :: Swapna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is a deadlock and what is a live lock? How will you go about resolving deadlocks?
Answer
# 1
Deadlock is a situation when two processes, each having a 
lock on one piece of data, attempt to acquire a lock on the 
other's piece. Each process  would wait indefinitely for 
the other to release the lock, unless one of the user 
processes is terminated. SQL Server detects deadlocks and 
terminates one user's process.

A livelock is one, where a  request for an exclusive lock 
is repeatedly denied because a series of overlapping shared 
locks keeps interfering. SQL Server detects the situation 
after four denials and refuses further shared locks. A 
livelock also occurs when read transactions monopolize a 
table or page, forcing a write transaction to wait 
indefinitely
 
Is This Answer Correct ?    23 Yes 3 No
Swapna
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
what are batch in sql server? Satyam2
How do you troubleshoot SQL Server if its running very slow?  2
in tabase table having a column in it empname field is there which having 5 duplicate values is there i want deleted all the duplicates i want showing only one name only.  7
what operator performs pattern matching?  1
how many type of subquery?  2
What is Transaction?  2
How can your resolve deadlocks? IBM3
Name three version of sql server 2000 and also their differences?  1
what is the difference between sql query and google query? TCS7
What is the difference between login and a user? TCS7
what is advantages in sql 2005 over sql 2000?  4
How do you simulate a deadlock for testing purposes  1
could u plz explain about joins and views?  2
what is the purpose of creating view is sql server 2000 Wipro9
Say if we have a table that contains only a single column , say OrderID, which has IDENTITY attribute defined on it. So how can we insert data in this table. I am reframing my question, that how can we make the table to increment the column "OrderID" value several times???  3
How To delete duplicate record from a particular table? eXensys10
how to select a field with firstletter as capital and remaining are small letters  8
What is the difference between local table and global table Polaris1
What is Peer to peer Replication? HCL1
difference between sql server2000 and sql server2005 KPMG1
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com