SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Deadlock & Error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Pritam
Starting Member

India
4 Posts

Posted - 03/10/2014 :  11:55:27  Show Profile  Reply with Quote
Read the following Statements:

1. When transactions enter into a deadlock situation, the hardware error occurs.
2. Logical Error occurs when transactions enter into a deadlock situation.
3. System Error occurs when transactions enter into a deadlock situation.
4. Transaction Error occurs when transactions enter into a deadlock situation.
Statement 2 is True

Statement 3 is True

Statement 4 is True

Statements 1 and 4 are True

Statements 2 and 3 are True

Statements 4 and 2 are True

James K
Flowing Fount of Yak Knowledge

3742 Posts

Posted - 03/10/2014 :  12:15:23  Show Profile  Reply with Quote
quote:
Originally posted by Pritam

Read the following Statements:

1. When transactions enter into a deadlock situation, the hardware error occurs.
2. Logical Error occurs when transactions enter into a deadlock situation.
3. System Error occurs when transactions enter into a deadlock situation.
4. Transaction Error occurs when transactions enter into a deadlock situation.
Statement 2 is True

Statement 3 is True

Statement 4 is True

Statements 1 and 4 are True

Statements 2 and 3 are True

Statements 4 and 2 are True



Are you asking a question? What kind of problems are you running into? Or is this a question from a test or interview that you are trying to get the answer to?
Go to Top of Page

Pritam
Starting Member

India
4 Posts

Posted - 03/10/2014 :  23:00:28  Show Profile  Reply with Quote
what I want to know is when transactions enter into a deadlock situation, what type of error occurs?
Go to Top of Page

James K
Flowing Fount of Yak Knowledge

3742 Posts

Posted - 03/11/2014 :  08:01:32  Show Profile  Reply with Quote
quote:
Originally posted by Pritam

what I want to know is when transactions enter into a deadlock situation, what type of error occurs?

One of the transactions that is involved in the deadlock is chosen as the deadlock victim, its transaction is rolled back, and an error message (with a specific error code) is returned.

If you are trying to debug deadlock situation, turn on trace flag 1222 and next time a deadlock occurs, SQL error log will give you details about the queries that participated in the deadlock.
Go to Top of Page

Pritam
Starting Member

India
4 Posts

Posted - 03/11/2014 :  08:58:05  Show Profile  Reply with Quote
yes that I can undertsand,what I want to know what type of sql error will it give?
logical,system,hardware or transaction?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000