Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Working with Hierarchies in SQL Server

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
In this course, you will learn to work with hierarchical data in SQL
Server using hierarchyid. You will master techniques to create,
query, optimize, and traverse hierarchies efficiently.

Understanding the HierarchyID data type in SQL Server is crucial for managing hierarchical or nested data structures, enhancing the efficiency and performance of database queries. In this course, Working with Hierarchies in SQL Server, you'll gain the ability to work with hierarchical data in SQL Server effectively. First, you'll understand hierarchies' importance, structure, and representation, focusing on the hierarchyid data type. By creating hierarchies, querying them, and comparing hierarchyid with other hierarchy models, you'll gain a robust foundation. Next, you'll explore node properties like depth, breadth, and position and learn to find descendants, modify nodes, and calculate depth and breadth through practical exercises. Finally, you'll learn to improve performance with indexes, enforce integrity with triggers, and discuss best practices in SQL Server hierarchies. By the end of this course, you'll have both theoretical understanding and hands-on experience with hierarchical data in SQL Server. You'll be prepared to handle complex data relationships efficiently, applying these skills in real-world scenarios.

Syllabus

  • Course Overview 1min
  • Overview of Hierarchies in SQL Server 19mins
  • Working with Nodes in a Hierarchy 17mins
  • Optimizing Performance and Maintaining Integrity 10mins

Taught by

Pinal Dave

Reviews

4.1 rating at Pluralsight based on 18 ratings

Start your review of Working with Hierarchies in SQL Server

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.