Replace :

  • NameBDDEPM => your Database Name
  • NamePath => Specific path

An execute this SQL script in SSMS

SELECT 
    MIN(pfh.FULL_PATH) as FULL_PATH,
    p.NAME
FROM 
    [NameBDDEPM].[dbo].[PACKAGE_FILES_HASH] pfh
JOIN 
    [NameBDDEPM].[dbo].[PACKAGE_FILES] pf
ON 
    pfh.PACKAGE_FILES_HASH_IDN = pf.PACKAGE_FILES_HASH_IDN
JOIN 
    [NameBDDEPM].[dbo].[PACKAGE] p
ON 
    pf.PACKAGE_IDN = p.PACKAGE_IDN
WHERE 
    LOWER(pfh.FULL_PATH) LIKE '%NamePath%'
GROUP BY 
    p.NAME

Warning : Works only with packages having additional files

Categories: EPM

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.