MSSQL

How to get recursive folder path from Alfresco

How to get recursive folder path from Alfresco

How to get recursive folder path from Alfresco

Nathan Obert
Introduction Alfresco is a Content Management System, recently purchased by Hyland. I needed to write a query for Oracle and Microsoft SQL that would loop through its database and build a folder structure recursivily from its tables. These snippets of SQL are what I came up with. Microsoft SQL Server This Article here is probably the best article I’ve found that explains MS SQL Recursion with a working example. https://www.andrewvillazon.com/recursive-cte-sql-server/