Transactions and Error Handling in SQL Server

0
Language

Level

Beginner

Access

Paid

Certificate

Paid

Learn to write scripts that will catch and handle errors and control for multiple operations happening at once.

Add your review

Course Description

It is critical to know how to handle errors and manage transactions when programming SQL scripts. Unhandled errors can be very harmful and can cause unexpected situations, such as inconsistent data in your database, or even worse, errors can lead you to make wrong business decisions.

What You’ll Learn

Starting with error handling

To begin the course, you will learn how to handle errors using the TRY…CATCH construct that provides T-SQL. You will study the anatomy of errors, and you will learn how to use some functions that can give you information about errors.

Transactions in SQL Server

In this chapter, you will be introduced to the concept of transactions. You will discover how to commit and rollback them. You will finish by learning how to return the number of transactions and their state.

Raising, throwing and customizing your errors

In this chapter, you will deepen your knowledge of handling errors. You will learn how to raise errors using RAISERROR and THROW. Additionally, you will discover how to customize errors.

Controlling the concurrency: Transaction isolation levels

This chapter defines what concurrency is and how it can affect transactions. You will learn exciting concepts like dirty reads, repeatable reads, and phantom reads. To avoid or allow this reads, you will explore, one by one, the different transaction isolation levels.

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Transactions and Error Handling in SQL Server”

×

    Your Email (required)

    Report this page
    Transactions and Error Handling in SQL Server
    Transactions and Error Handling in SQL Server
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.