Error Messages can be Helpful

Sometimes you just run into a situation you have to blog about. This time, I want to talk about the fun error messages that everyone is supposed to be watching out for. Whenever a process errors out, in most corporate environments there is usually one of two things that happen: Someone manually notifies a specified…… Continue reading Error Messages can be Helpful

Published
Categorized as SQLBasics

Transactions should (never) be distributed

For the last few blog posts, we’ve been talking about transactions. If you’ve missed any, be sure to click on the links below: Using Save Points with Transactions to Get BetterHow about we TRY and CATCH some Transactions?Setting up a Friendly TRANSACTION In the version of transactions that we going to discuss today, we’re going…… Continue reading Transactions should (never) be distributed

Using Save Points with Transactions to Get Better

When we last conversed, we talked about the TRY/CATCH block and how it works with transactions. If you somehow missed that, you can read about it here – How about we TRY and CATCH some Transactions? We’ll wait for you… All right, now that everyone’s back with us, we’ll talk more about everyone’s favorite -…… Continue reading Using Save Points with Transactions to Get Better

How about we TRY and CATCH some Transactions?

In our last post, we started talking about transactions and how they can help your databases have data integrity. Let’s continue that today with our friends TRY and CATCH. TRY is just telling SQL Server that we want to try out something. CATCH tells SQL Server what to do if it completely messes up. BEGIN…… Continue reading How about we TRY and CATCH some Transactions?