70-461 Session 4: Querying Microsoft SQL Server (T-SQL code)

Master T-SQL by merging datasets, creating procedures, and utilizing error handling in SQL Server 2012-2022. Enhance your skills for SQL querying with practical experience.

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

This T-SQL course teaches you how to combine datasets, create procedures, and handle errors. You'll learn essential commands like MERGE, UNION, and how to apply conditional logic. No fancy prerequisites, just dive in with a hint of Excel or Access experience!

Key Points

  • Merge datasets using MERGE statement
  • Add error handling with TRY, CATCH, and THROW
  • Use UNION, UNION ALL, INTERSECT, and EXCEPT for dataset comparison
  • Create procedures for executing parameterized commands
  • Understand and apply CASE, ISNULL, and COALESCE for conditional logic

Learning Outcomes

  • Write effective procedures for database operations
  • Implement error handling in T-SQL code
  • Combine and compare datasets using UNION and INTERSECT
  • Utilize CASE, ISNULL, and COALESCE for data manipulation
  • Execute MERGE to manage conflicts in table data

About This Course

Using TSQL, merge datasets together, create procedures & incorporate error handling. SQL Server 2012-2022, inc. 2019

This course is the foundation for the Microsoft Certificate 70-461: "Querying Microsoft SQL Server 2012/2014". Please note - this certificate is no longer being offered by Microsoft. However, the exam requirements allow you to have a good understanding of T-SQL.

Welcome to Session 4 of this T-SQL course. In this course:

  • We will further encapsulate our routines by creating procedures, allowing us to EXECUTE parameterised commands with just one statement.

  • We'll add some error handling with TRY, CATCH and THROW.

We'll also combine datasets together and compare them, by looking at

  • UNION and UNION ALL, which allows us to combine sets,

  • INTERSECT and EXCEPT, which compares datasets, and

  • the mighty MERGE statement, which allows for conditional INSERT, UPDATE and DELETEs.

We'll also create conditional logic:

  • CASE, the equivalent of the IF statement in Excel,

  • ISNULL and Coalesce, which replaces NULLs,

No prior knowledge other than what we covered in Sessions 1 to 3 is required. However, prior experience with Excel or Access would be beneficial.

There are regular quizzes to help you remember the information.

Once finished, you will know what how to write procedures, add error handling, and combine datasets together and compare them, and we'll have expanded on our current knowledge of T-SQL.

  • Combine and compare datasets using UNION, UNION ALL, INTERSECT and EXCEPT

  • Understand the difference between and use of CASE, ISNULL and COALESCE

  • MERGE two tables together, taking different actions if similar rows exist in both tables than if they don't.

Instructors

Profile photo of Phillip Burton • 800,000+ students so far
Phillip Burton • 800,000+ students so far

Hi. I'm Phillip, and I'm proud to Teach with Udemy as a Udemy Instructor Partner. I have been teaching on Udemy since 2015, and I have over 800,000 students and more than 40 video courses, including over a dozen Bestseller courses.My courses include Power BI, Tableau, SQL Server, Power Platform (Power Apps, Power Automate, etc.), Azure, Microsoft Office, and more....

Instructors

Profile photo of I Do Data Limited
I Do Data Limited

I Do Data is dedicated to creating video courses on Udemy in a variety of computer-related topics, such as SQL in its different dialects and Microsoft Office.Are you wanting to learn a new skill from the beginning? Or are you wanting to build on an existing skill? In either case, welcome.Our courses are available on Udemy at any time, so...

Review
4.9 course rating
4K ratings
ui-avatar of Gisela Maria Bernal Avila
Gisela M. B. A.
4.5
1 year ago

Thnks for your knowledge, I learned a lot.

  • Helpful
  • Not helpful
ui-avatar of Duggisetty Kumar
Duggisetty K.
5.0
1 year ago

good

  • Helpful
  • Not helpful
ui-avatar of Vineeth Kulangara Ramachandran
Vineeth K. R.
5.0
1 year ago

very good learning course and kudos to Philip Burton

  • Helpful
  • Not helpful
ui-avatar of Palle Sahasra
Palle S.
5.0
1 year ago

It was good and understandable

  • Helpful
  • Not helpful
ui-avatar of Carlos Beca
Carlos B.
4.0
1 year ago

great course

  • Helpful
  • Not helpful
ui-avatar of Praveen Sharma
Praveen S.
5.0
1 year ago

It was a great learning to SQL concepts.

  • Helpful
  • Not helpful
ui-avatar of Anonymized User
Anonymized U.
5.0
2 years ago

good course

  • Helpful
  • Not helpful
ui-avatar of Poreddy Sushmitha
Poreddy S.
4.0
2 years ago

improve myskills

  • Helpful
  • Not helpful
ui-avatar of Juan Gabriel Sánchez Peralta
Juan G. S. P.
5.0
2 years ago

Muy buenas explicaciones

  • Helpful
  • Not helpful
ui-avatar of César David Millán
César D. M.
5.0
2 years ago

It was really good with all the topics that are explained, I think it could go more in deep with the store procedures but bisides that It was a really good one course all around

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses