--DP content status:
use sms
SELECT v_PackageStatusDistPointsSumm.PackageID,
v_Package.Name, v_PackageStatusDistPointsSumm.InstallStatus, v_PackageStatusDistPointsSumm.SiteCode, v_PackageStatusDistPointsSumm.ServerNALPath,
v_PackageStatusDistPointsSumm.SourceVersion, v_PackageStatusDistPointsSumm.State, v_PackageStatusDistPointsSumm.LastCopied,
v_PackageStatusDistPointsSumm.SourceNALPath, v_PackageStatusDistPointsSumm.SummaryDate
FROM v_PackageStatusDistPointsSumm INNER JOIN
v_Package ON v_PackageStatusDistPointsSumm.PackageID = v_Package.PackageID
WHERE (v_PackageStatusDistPointsSumm.ServerNALPath LIKE '%XXX%')---and InstallStatus <> 'Package Installation complete'
--WHERE (v_PackageStatusDistPointsSumm.ServerNALPath LIKE '%.stores.target.com%')and InstallStatus <> 'Package Installation complete'
--and Name like '%neil%'1
--order by name, v_PackageStatusDistPointsSumm.InstallStatus
and InstallStatus != 'Package Installation complete'
Note: in XXX put your DP name
use sms
SELECT v_PackageStatusDistPointsSumm.PackageID,
v_Package.Name, v_PackageStatusDistPointsSumm.InstallStatus, v_PackageStatusDistPointsSumm.SiteCode, v_PackageStatusDistPointsSumm.ServerNALPath,
v_PackageStatusDistPointsSumm.SourceVersion, v_PackageStatusDistPointsSumm.State, v_PackageStatusDistPointsSumm.LastCopied,
v_PackageStatusDistPointsSumm.SourceNALPath, v_PackageStatusDistPointsSumm.SummaryDate
FROM v_PackageStatusDistPointsSumm INNER JOIN
v_Package ON v_PackageStatusDistPointsSumm.PackageID = v_Package.PackageID
WHERE (v_PackageStatusDistPointsSumm.ServerNALPath LIKE '%XXX%')---and InstallStatus <> 'Package Installation complete'
--WHERE (v_PackageStatusDistPointsSumm.ServerNALPath LIKE '%.stores.target.com%')and InstallStatus <> 'Package Installation complete'
--and Name like '%neil%'1
--order by name, v_PackageStatusDistPointsSumm.InstallStatus
and InstallStatus != 'Package Installation complete'
Note: in XXX put your DP name