Тёмный

Learn Hierarchies in SQL server using HierarchyID 

techsapphire
Подписаться 15 тыс.
Просмотров 22 тыс.
50% 1

Hierarchy ID is nothing other then column which represent relational value in numeric format on which DFS (Depth First Search) & BFS (Breadth First Search) can be used
The concept is very simple, when we have to make relational structures which shows parent child level tree hierarchy, we can use hierarchyid datatype.
With hierarchy ID recursive queries can be converted into range query.
DFS (Depth First Search) and BFS (Breadth First Search) can be implemented using additional index which improves performance.
Uses .NET assembly library defined methods to provide easy maintenance.
Hierarchy ID is scalar column and is sequence of no. of var binary values.
For script follow link below:
www.techsapphir...

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
Далее
Simple Recursion in SQL
15:15
Просмотров 95 тыс.
REAL SQL Interview Problem | Hierarchical data in SQL
22:09