July 7, 2010 at 2:19 pm
I'm completely missing the point of the questioner over here. Can someone else give them a hand maybe?
Grant, I don't have a dog in that fight, but his complaint is that the procedure does something different when it is run standalone, as opposed to when it is called inside a TRY block. In his example, when proc "A" is run standalone, a severity 16 error is raised in the second statement of Proc "A", BUT processing still continues on to the third statement.
When proc "A" is wrapped in a try/catch block, the error causes control to pass to the catch block of the calling procedure and the third statement of proc "A" never gets executed. This is what he meant by the behavior changing.
I sort of see his point in that the behavior is inconsistent, not really like an object. He would prefer for proc "A" to finish running regardless of whether or not it is in a try/catch block. On the other hand the entire purpose of a TRY/CATCH is to immediately react to errors, many of which would be fatal (unlike his harmless example).
You're not going to explain this in a such a way as to make him happy.
__________________________________________________
Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills
July 7, 2010 at 2:39 pm
Okay... now I have a dog in that fight.
__________________________________________________
Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills
July 7, 2010 at 6:03 pm
July 7, 2010 at 6:55 pm
bteraberry (7/7/2010)
The Dixie Flatline (7/7/2010)
You're not going to explain this in a such a way as to make him happy.I didn't believe you. Now I do.
I've been there often enough when trying to explain what you might call "high level language concepts" to people who think that all programming languages conform to the rules of Dartmoth Basic (ormaybe of Cesil - the old one, not the new one). So I believe it without difficulty. I've thrown in a comment, but I suspect it's a waste of time.
Tom
July 7, 2010 at 7:06 pm
Tom.Thomson (7/7/2010)
bteraberry (7/7/2010)
The Dixie Flatline (7/7/2010)
You're not going to explain this in a such a way as to make him happy.I didn't believe you. Now I do.
I've been there often enough when trying to explain what you might call "high level language concepts" to people who think that all programming languages conform to the rules of Dartmoth Basic (ormaybe of Cesil - the old one, not the new one). So I believe it without difficulty. I've thrown in a comment, but I suspect it's a waste of time.
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 7, 2010 at 7:35 pm
Jeff Moden (7/7/2010)
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.
You're not the only one Jeff. I've got too many other things to deal with and only so much energy.
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
July 7, 2010 at 8:31 pm
Alvin Ramard (7/7/2010)
Jeff Moden (7/7/2010)
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.You're not the only one Jeff. I've got too many other things to deal with and only so much energy.
That's where dbcc timewarp comes into play
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
July 7, 2010 at 8:35 pm
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
Jeff Moden (7/7/2010)
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.You're not the only one Jeff. I've got too many other things to deal with and only so much energy.
That's where dbcc timewarp comes into play
Exec dbcc TimeWarp @Date = '1976-09-01'
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
July 7, 2010 at 8:38 pm
Alvin Ramard (7/7/2010)
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
Jeff Moden (7/7/2010)
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.You're not the only one Jeff. I've got too many other things to deal with and only so much energy.
That's where dbcc timewarp comes into play
Exec dbcc TimeWarp @Date = '1976-09-01'
Is that the last time you were 19?
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
July 7, 2010 at 8:44 pm
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
Jeff Moden (7/7/2010)
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.You're not the only one Jeff. I've got too many other things to deal with and only so much energy.
That's where dbcc timewarp comes into play
Exec dbcc TimeWarp @Date = '1976-09-01'
Is that the last time you were 19?
Try 14 and a little bit. π
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
July 7, 2010 at 9:50 pm
Alvin Ramard (7/7/2010)
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
Jeff Moden (7/7/2010)
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.You're not the only one Jeff. I've got too many other things to deal with and only so much energy.
That's where dbcc timewarp comes into play
Exec dbcc TimeWarp @Date = '1976-09-01'
Is that the last time you were 19?
Try 14 and a little bit. π
I was 17 and a senior in high school. If I knew then what I know now.
July 7, 2010 at 10:31 pm
Lynn Pettis (7/7/2010)
Alvin Ramard (7/7/2010)
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
Jeff Moden (7/7/2010)
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.You're not the only one Jeff. I've got too many other things to deal with and only so much energy.
That's where dbcc timewarp comes into play
Exec dbcc TimeWarp @Date = '1976-09-01'
Is that the last time you were 19?
Try 14 and a little bit. π
I was 17 and a senior in high school. If I knew then what I know now.
I was ummm, errr, ummm 2yrs 8mos at that point.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
July 8, 2010 at 1:34 am
Alvin Ramard (7/7/2010)
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
Jeff Moden (7/7/2010)
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.You're not the only one Jeff. I've got too many other things to deal with and only so much energy.
That's where dbcc timewarp comes into play
Exec dbcc TimeWarp @Date = '1976-09-01'
AH-AAAH!!! So, you're trying to get rid of me!
I wasn't even a light in the eyes of my parents...:w00t:
-- Gianluca Sartori
July 8, 2010 at 2:24 am
Lynn Pettis (7/7/2010)
Alvin Ramard (7/7/2010)
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
CirquedeSQLeil (7/7/2010)
Alvin Ramard (7/7/2010)
Jeff Moden (7/7/2010)
I'm either getting too old or just lazier in my old age. I no longer fight people who insist on being wrong. I try to help but if someone wants to set their hair on fire, I'll let them so long as they don't take any innocent bystanders out.You're not the only one Jeff. I've got too many other things to deal with and only so much energy.
That's where dbcc timewarp comes into play
Exec dbcc TimeWarp @Date = '1976-09-01'
Is that the last time you were 19?
Try 14 and a little bit. π
I was 17 and a senior in high school. If I knew then what I know now.
17, brown & lean, and on the train to Uni.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
Viewing 15 posts - 16,171 through 16,185 (of 66,712 total)
You must be logged in to reply to this topic. Login to reply