SELECT a.PORTAL_NAME || '->' || f.PORTAL_LABEL || '->' || e.PORTAL_LABEL
|| '->' || d.PORTAL_LABEL || '->' || c.PORTAL_LABEL || '->' || b.PORTAL_LABEL
|| '->' || a.PORTAL_LABEL FROM PSPRSMDEFN a
LEFT JOIN PSPRSMDEFN b ON b.PORTAL_NAME = a.PORTAL_NAME
AND b.PORTAL_OBJNAME = a.PORTAL_PRNTOBJNAME
LEFT JOIN PSPRSMDEFN c ON c.PORTAL_NAME = b.PORTAL_NAME
AND c.PORTAL_OBJNAME = b.PORTAL_PRNTOBJNAME
LEFT JOIN PSPRSMDEFN d ON d.PORTAL_NAME = c.PORTAL_NAME
AND d.PORTAL_OBJNAME = c.PORTAL_PRNTOBJNAME
LEFT JOIN PSPRSMDEFN e ON e.PORTAL_NAME = d.PORTAL_NAME
AND e.PORTAL_OBJNAME = d.PORTAL_PRNTOBJNAME
LEFT JOIN PSPRSMDEFN f ON f.PORTAL_NAME = e.PORTAL_NAME
AND f.PORTAL_OBJNAME = e.PORTAL_PRNTOBJNAME
WHERE a.PORTAL_REFTYPE = 'C'
AND a.PORTAL_URI_SEG2 = "EnterComponentName";
|| '->' || d.PORTAL_LABEL || '->' || c.PORTAL_LABEL || '->' || b.PORTAL_LABEL
|| '->' || a.PORTAL_LABEL FROM PSPRSMDEFN a
LEFT JOIN PSPRSMDEFN b ON b.PORTAL_NAME = a.PORTAL_NAME
AND b.PORTAL_OBJNAME = a.PORTAL_PRNTOBJNAME
LEFT JOIN PSPRSMDEFN c ON c.PORTAL_NAME = b.PORTAL_NAME
AND c.PORTAL_OBJNAME = b.PORTAL_PRNTOBJNAME
LEFT JOIN PSPRSMDEFN d ON d.PORTAL_NAME = c.PORTAL_NAME
AND d.PORTAL_OBJNAME = c.PORTAL_PRNTOBJNAME
LEFT JOIN PSPRSMDEFN e ON e.PORTAL_NAME = d.PORTAL_NAME
AND e.PORTAL_OBJNAME = d.PORTAL_PRNTOBJNAME
LEFT JOIN PSPRSMDEFN f ON f.PORTAL_NAME = e.PORTAL_NAME
AND f.PORTAL_OBJNAME = e.PORTAL_PRNTOBJNAME
WHERE a.PORTAL_REFTYPE = 'C'
AND a.PORTAL_URI_SEG2 = "EnterComponentName";
No comments:
Post a Comment