Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Pritam
Starting Member
4 Posts |
Posted - 2014-03-10 : 11:55:27
|
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
Master Smack Fu Yak Hacker
3873 Posts |
Posted - 2014-03-10 : 12:15:23
|
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? |
|
|
Pritam
Starting Member
4 Posts |
Posted - 2014-03-10 : 23:00:28
|
what I want to know is when transactions enter into a deadlock situation, what type of error occurs? |
|
|
James K
Master Smack Fu Yak Hacker
3873 Posts |
Posted - 2014-03-11 : 08:01:32
|
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. |
|
|
Pritam
Starting Member
4 Posts |
Posted - 2014-03-11 : 08:58:05
|
yes that I can undertsand,what I want to know what type of sql error will it give?logical,system,hardware or transaction? |
|
|
|
|
|