Transact-SQL Programming Techniques and Error Handling - Revised
Gain a better understanding of T-SQL with a focus on programming techniques and error handling with this course.
Take this certificate on your own.
Start now and learn at your own pace.
CertificationView course modules
This course begins by teaching you how to use subqueries within your queries. You will learn that most subqueries are self-contained and have no connection with the outer query other than passing its results. You will study the APPLY operator, the Temporary table, the common table expressions(CTEs) in SQL queries, and the pivoting data and unpivoting data. You will also learn how to group data using GROUPING SET sub-clause of GROUP BY clause.
You will then learn how to add data to a database using the INSERT function. With this course, you will also learn how to update and delete data from a database as well as identify programming constructs such as IF statements and loops in SQL queries. You will study how to create variables for use within SQL queries as well as the importance of comments to describe SQL code. You will also cover pivoting data and unpivoting data using the PIVOT and UNPIVOT operators.
T-SQL or Transact-SQL is a set of programming extensions from Sybase and Microsoft that add several features to the Structured Query Language (SQL). With this course, you will gain better insight into its programming techniques and error handling features including how to apply operators within your queries and presenting data with views and temporary table, create conditional branching and looping within your queries, and more! Start this course today to enhance your T-SQL abilities!
Working with Subqueries, Table Expressions and Data
Working with Subqueries, Table Expressions and Data - Learning Outcomes
Temporary Tables and Table Variables
Table Valued Functions
Common Table Expressions
Working with Subqueries, Table Expressions and Data - Lesson Summary
Modifying Data and Using T-SQL in Programming
Modifying Data and Using T-SQL in Programming - Learning Outcomes
Update and Delete
Batches, Comments and Variables
Conditional Branching and Looping
Modifying Data and Using T-SQL in Programming - Lesson Summary
T-SQL - Error Handling and Transactions
T-SQL - Error Handling and Transactions - Learning Outcomes
Error Message and Raising Errors
Catching and Handling Errors
T-SQL - Error Handling and Transactions - Lesson Summary
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.
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.