Get Maximo location hierarchy

Technical 2 Comments

Get location hierarchy in tree format

 

select lpad(' ',2*(level-1)) || to_char(location) s, level
from (select * from lochierarchy where siteid = 'BEDFORD')
start with parent is null
connect by prior location = parent;

Share this post


Blog Comments

epselon1
2017-12-30 21:02:52

Quick and easy



bizzarr
2018-01-11 19:05:48

Good one ..




Post your comment






Thank You! You comment is under review and will be published soon..
Thank You! You comment is Published.