May 25, 2015 at 11:43 pm
Comments posted to this topic are about the item Try Catch Throw
May 26, 2015 at 1:00 am
Does it say anywhere to select two answers? I only selected one answer and got it wrong because two were required?
Edited because Mighty answered the question I actually asked rather than the one I meant!
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
May 26, 2015 at 1:42 am
BWFC (5/26/2015)
Did I miss something when I only selected one answer and got it wrong because two were required?
Yes, the second part of the correct answer. ๐
May 26, 2015 at 1:49 am
Mighty (5/26/2015)
BWFC (5/26/2015)
Did I miss something when I only selected one answer and got it wrong because two were required?Yes, the second part of the correct answer. ๐
Oh very funny ๐ I suppose I set myself up for that one really!
How to post a question to get the most help http://www.sqlservercentral.com/articles/Best+Practices/61537
May 26, 2015 at 1:58 am
OK, the author should have (like all other QotD) mention to select 2 answers, still it`s a very good question.
Thanx.
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
May 26, 2015 at 2:00 am
This was removed by the editor as SPAM
May 26, 2015 at 2:21 am
Hi
Pretty cool QotD, I had to think twice before mark correct answers. ๐
Regards
Mike
May 26, 2015 at 2:25 am
Hany Helmy (5/26/2015)
OK, the author should have (like all other QotD) mention to select 2 answers, still it`s a very good question.Thanx.
The question featured checkboxes rather than radio buttons and there were clearly two distinct elements to the answer, one about the transaction and one about the error.
May 26, 2015 at 3:41 am
BWFC (5/26/2015)
Does it say anywhere to select two answers?
I wondered about that myself, when I saw the two sets of three mutually exclusive options each.
Previously, I have submitted questions with multiple answers and deliberately not mentioned the number of correct answers (because that would be a hint I did not want to provide). And then was disappointed to see that number being added (by the site's program? the editor? faeries?) when the question went live.
It looks like that process is now no longer in place, and it is left to the question author to decide whether or not to tell the reader how many answers are correct.
(Note that you can still see from the use of tickboxes that there is more than one correct answer)
May 26, 2015 at 3:47 am
Good question. Nice share
and good point shared by Hugo +1.
May 26, 2015 at 5:20 am
May 26, 2015 at 5:42 am
Deferred Name Resolution is an awful "feature". At the very least it should be optional/configurable. I want to always know that my proc is being compiled referencing a table that does not exist! We only get to find out it fails at run time, which is not the time.
May 26, 2015 at 6:08 am
I have selected two answers thinking that author gave the check boxes to select more than one answer.
nice question.. got it rite ๐
May 26, 2015 at 6:43 am
This was removed by the editor as SPAM
May 26, 2015 at 8:27 am
Great question. Note that the outcome is dependent on the setting of XACT_ABORT. The default is OFF, but if set to ON, the transaction will rollback, and executing the SP will return one error instead of two.
Here's a link with more info: https://www.simple-talk.com/sql/t-sql-programming/defensive-error-handling/[/url]
Rich
Viewing 15 posts - 1 through 15 (of 30 total)
You must be logged in to reply to this topic. Login to reply