→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎09-13-2013 12:50 AM
Solved! Go to Solution.
‎09-13-2013 01:11 AM
SELECT TOP 1000000
tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Domain
FROM
tblAssets
INNER JOIN tsysOS ON tsysOS.OScode = tblAssets.OScode
INNER JOIN tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID
WHERE
tblAssetCustom.State = 1
AND NOT EXISTS ( SELECT tblRegistry.AssetID
FROM tblRegistry
WHERE tblRegistry.AssetID = tblAssets.AssetID
AND tblRegistry.Regkey LIKE '%SOFTWARE\PGP Corporation\Common'
AND tblRegistry.Valuename = 'ProductVersion'
)
ORDER BY
tblAssets.AssetUnique
‎09-13-2013 05:20 PM
‎09-13-2013 01:11 AM
SELECT TOP 1000000
tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Domain
FROM
tblAssets
INNER JOIN tsysOS ON tsysOS.OScode = tblAssets.OScode
INNER JOIN tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID
WHERE
tblAssetCustom.State = 1
AND NOT EXISTS ( SELECT tblRegistry.AssetID
FROM tblRegistry
WHERE tblRegistry.AssetID = tblAssets.AssetID
AND tblRegistry.Regkey LIKE '%SOFTWARE\PGP Corporation\Common'
AND tblRegistry.Valuename = 'ProductVersion'
)
ORDER BY
tblAssets.AssetUnique
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now