‎07-04-2014 07:07 AM
Solved! Go to Solution.
‎07-04-2014 08:45 PM
SELECT Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblSoftwareUni.softwareName,
tblADusers.Name,
tblADusers.OU
FROM
tblAssets
INNER JOIN tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID
INNER JOIN tsysAssetTypes ON tsysAssetTypes.AssetType = tblAssets.Assettype
INNER JOIN tblSoftware ON tblAssets.AssetID = tblSoftware.AssetID
INNER JOIN tblSoftwareUni ON tblSoftwareUni.SoftID = tblSoftware.softID
INNER JOIN tblADusers ON tblAssets.Userdomain = tblADusers.Userdomain And tblAssets.Username = tblADusers.Username
WHERE
tblAssetCustom.State = 1
AND tblSoftwareUni.softwareName LIKE 'Adobe Acrobat 9%'
ORDER BY
tblADusers.Name
SELECT Top 1000000
tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher
FROM
tblSoftwareUni
‎07-04-2014 08:45 PM
SELECT Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblSoftwareUni.softwareName,
tblADusers.Name,
tblADusers.OU
FROM
tblAssets
INNER JOIN tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID
INNER JOIN tsysAssetTypes ON tsysAssetTypes.AssetType = tblAssets.Assettype
INNER JOIN tblSoftware ON tblAssets.AssetID = tblSoftware.AssetID
INNER JOIN tblSoftwareUni ON tblSoftwareUni.SoftID = tblSoftware.softID
INNER JOIN tblADusers ON tblAssets.Userdomain = tblADusers.Userdomain And tblAssets.Username = tblADusers.Username
WHERE
tblAssetCustom.State = 1
AND tblSoftwareUni.softwareName LIKE 'Adobe Acrobat 9%'
ORDER BY
tblADusers.Name
SELECT Top 1000000
tblSoftwareUni.softwareName,
tblSoftwareUni.SoftwarePublisher
FROM
tblSoftwareUni
‎07-04-2014 08:17 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now