|
Comments
|
|
it was nice
|
|
|
Excellent. I was not aware of that.
|
|
|
Very clear and just the right amount of information
|
|
Mark Weichman on
1/15/2010
hoping you cover best practices for error handling within an application i.e. capturing and reporting the full error message and the database, stored procedure and sql statement caused the error and how to report key data elements i.e. if you are processing a cursor of 1000 rows or an input file, which occurance caused the problem. Finally, should the message to the the event log and/or back to the app etc
|
|
Dennis Allen on
1/15/2010
Important subject. I am looking forward to more and details on using the new ERROR_ functions in SQL 2008.
Something that I do in my critical procedures is to both log the error information to a table, adding line and state information, but then re-throw an error to be captured by the calling code and setting the return value to the error log id.
If you would like details contact me at dennis_d_allen@yahoo.com
Wonderful as always! Thanks.
|
|
|
Very good topic and well done.
|
|
|
Great knowledge been doing this for a long time, when I code I check for @@Error to return errors and rollback. But this is a simple way to show why it is so important.
|
|
|
Great information to have, but it brings up a very distressing question. What else can cause this situation? Can you direct us to documentation as to what types of errors do NOT trigger ROLLBACK ?
|
|
|
Don't highlight code unless you have to.
Change the colours for selected text to black on a yellow background. Black on blue is almost invisible.
I hope BEGIN TRY is next, as well as XACT_ABORT
|
|
|
Very nice.
|
|
Thomas Kaiser on
1/15/2010
Excellent informatino
|
|
|
Great topic!
|
|
|
Very easy to understand - clear and concise instructions.
|
|
Steve Harris on
1/15/2010
more explanation of what @@trancount is and does
|
|
luther smith on
1/15/2010
Good to know!
|
|
|
Wow! That was good information. Would also like to know what try/catch does in this situation.
|
|
|
Great info. Thank you!
|
|
|
Very useful and one to watch out for.
|
|
|
INCLUDE CODE!!!!!!!
|
|
|
Excellent speaker!
|
|
|
I've seen lots of folks that don't really "have" this concept. They think once in a transaction, changes are bulletproof. Andy makes a very good point here.
|
|
|
great video
|
|
|
Awesome information....Thanks!
|
|
|
Excellent example. Thanks
|
|
|
Andy is great. Clear and concise, very easy to understand. Thanks, Andy!
|