|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Friday, May 18, 2007 3:36 PM
Points: 10,040,
Visits: 1
|
|
| Comments posted to this topic are about the Question of the Day for 05 Jun 2007 posted at http://www.sqlservercentral.com/testcenter/qod.asp?QuestionID=1049.
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Monday, July 30, 2012 10:42 AM
Points: 3,434,
Visits: 519
|
|
Adam, What a good question! I got it right, but I wonder: the message is Level 16. BOL says in "Database Engine Error Severities" that the correct answer happens with severity 19 and higher. Does not mean that it could not happen with 16, but it would be nice if BOL explains possible outcomes of Levels 11 to 16.
Regards, Yelena Varshal
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, January 22, 2013 6:39 AM
Points: 367,
Visits: 297
|
|
While I can not vouch for the complete voracity veracity of the information provided at: http://www.sommarskog.se/error-handling-I.html I found the article very informative and useful. I stumbled accross it while looking for verification for my answer to the question. I had the right answer but it was nice to see "why" my answer was right. James.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Thursday, June 13, 2013 11:47 AM
Points: 1,137,
Visits: 676
|
|
Yelena: I think the BOL entry is badly phrased. The implication is that such errors would ALWAYS abort the batch; but there is nothing to say that lower-severity errors wouldn't. Error severities in SQL Server are not actually related to how severe a given condition is, but are rather used more like categories. For example, severity 13 is for deadlocks. I personally think that deadlocks are pretty severe... and, by the way, they're batch-aborting if you happen to be the victim! 
JLK: I'm not sure what you mean by "voracity" in this context, but I will say that Erland Sommarskog's article is absolutely the best resource on the topic, and I used it as a reference while writing my own chapter on the same. By the way, the other articles on that site are equally excellent--I highly recommend reading them all.
-- Adam Machanic SQL Server MVP SQLblog.com: THE SQL Server Blog Spot on the Web
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, January 22, 2013 6:39 AM
Points: 367,
Visits: 297
|
|
Adam: Guess I should have used the word "accuracy" (either that or learn how to spell! [veracity]). I'm far from and expert in this area and didn't want to steer anyone wrong. I was impressed with the level of detail Erland included and was pretty confident it was accurate, but that was the first time I every looked into what type of error resulted in what type of action. Very good information to know, I think I have made poor assumptions in some of my past projets  James.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 7:11 AM
Points: 1,130,
Visits: 1,278
|
|
alas! I got it worng
|
|
|
|