scdecade

Function and Queries to Convert Hierarchical Adjacency to Nested Json Arrays

This script converts hierarchical adjacency into nested json rows which contain the recursive "downlines" of each node.  The table-valued function treats each row in the original adjacency as the root node in a recursive common table expression. 

2019-11-24

217 reads

Function and Queries to Convert Hierarchical Adjacency to Nested Json Arrays

This script converts hierarchical adjacency into nested json rows which contain the recursive "downlines" of each node.  The table-valued function treats each row in the original adjacency as the root node in a recursive common table expression. 

2019-11-12 (first published: )

565 reads

Blogs

Azure Analysis Services – Processing Hot & Cold Data using Tabular model partitions

By

Introduction Recently have been working on a “Proof of Concept” task where I wanted...

Extracting data from Common Data Services (Microsoft Dynamics 365) using Azure Data Factory

By

(2020-Mar-30) Little did I know that I can use Azure Data Factory (ADF) to extract...

Probing Columnstore Indexes

By

In this article, our focus will be to test, the performance benefits of columnstore...

Read the latest Blogs

Forums

Regarding for Microsoft Azure Certification

By Ankitdixit

Hello Everyone, I am new here and I am preparing for microsoft azure certification...

Parameter has any limit or size?

By ravisankar

Hi I have created report with Cascading parameter (Multivalued), Is there any limit or...

Newbie. Up date Table

By MrToad

Hi. New to SQL. There is a field I want to change within our...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers