Retrieve subtree part of current element hierarchy
- Last UpdatedSep 29, 2022
- 1 minute read
- PI System
- PI OLEDB Enterprise 2019
- Developer
SELECT Name FROM NuGreen.Asset.ElementHierarchy
WHERE Path LIKE N'\NuGreen\Houston\%'
AND Level <= 2 /*Level column can be used to restrict depth of hierarchy traversal*/