Transact-SQL Course - Programming Techniques & Error Handling | Alison

Transact-SQL - Programming Techniques and Error Handling

Learn T-SQL programming techniques and error handling.

Free Course
Learn T-SQL programming techniques and error handling.
  • Duration

    1.5-3 Hours
  • Assessment

  • Certification

  • Publisher

    Channel 9





View course modules


Transact-SQL - Programming Techniques and Error Handling will introduce you to the many different options you have for queries and subqueries. You will learn to modify your data and use program within your queries. You will learn about the process of handling, raising and catching errors.

The course begins by introducing you to Subqueries, what they are and their function. You will learn to apply operators within your queries and presenting data with views and temporary table. You will also learn about table valued functions, derived tables, how to pivot data and unpivot the pivoted data. This course also teaches about grouping sets subclause of the group by clause.

Next, you will learn about modifying your data with the insert and update functions. You will learn about deleting data from your table, batches, comments and declaring variables for your queries. You will also learn about creating conditional branching and looping within your queries.

In the end, you will be introduced to the elements of database engine errors. You will learn about raising and handling errors. This course also teaches you to try catch block and use transactions in your queries.

This course would be of interest to those who wish to learn more about using queries in a database and deepen their knowledge of Transact-SQL.

Start Course Now

Learning Outcomes

Having completed this course you will be able to: - Identify the elements of database engine errors. - Recognize the process error handling and catching errors in Transact-SQL code. - Discuss the concept of transactions. - Distinguish how to add data to a database using the INSERT function. - Indicate how to update and delete data from a database using the respective functions. - Explain creating variables for use within SQL queries. - Illustrate the importance of comments to describe SQL code - Identify programming constructs such as IF statements and loops in SQL queries. - Illustrate how to use subqueries within your queries. - Describe using APPLY operator to use SQL query results in another SQL query. - Describe a Temporary table, its uses and drawbacks. - Identify common table expressions(CTEs) in SQL queries. - Explain how to group data using GROUPING SET sub-clause of GROUP BY clause. - Describe pivoting data and unpivoting data using the PIOVT and UNPIVOT operators.


All Alison courses are free to enrol, study and complete. To successfully complete this Certificate course and become an Alison Graduate, you need to achieve 80% or higher in each course assessment. Once you have completed this Certificate course, you have the option to acquire an official Certificate, which is a great way to share your achievement with the world. Your Alison Certificate is:

Ideal for sharing with potential employers - include it in your CV, professional social media profiles and job applications
An indication of your commitment to continuously learn, upskill and achieve high results
An incentive for you to continue empowering yourself through lifelong learning

Alison offers 3 types of Certificates for completed Certificate courses:

Digital Certificate - a downloadable Certificate in PDF format, immediately available to you when you complete your purchase
Certificate - a physical version of your officially branded and security-marked Certificate, posted to you with FREE shipping
Framed Certificate - a physical version of your officially branded and security-marked Certificate in a stylish frame, posted to you with FREE shipping

All Certificates are available to purchase through the Alison Shop. For more information on purchasing Alison Certificates, please visit our FAQs. If you decide not to purchase your Alison Certificate, you can still demonstrate your achievement by sharing your Learner Record or Learner Achievement Verification, both of which are accessible from your Dashboard. For more details on our Certificate pricing, please visit our Pricing Page.


    New course

    This Course has been revised!

    For a more enjoyable learning experience, we recommend that you study the mobile-friendly republished version of this course.

    Take me to revised course.

    You have received a new notification

    Click here to view them all