‎05-07-2013 05:34 PM
Solved! Go to Solution.
‎05-08-2013 10:30 PM
SELECT tsysOS.Image AS icon, tblAssets.AssetID, tblAssets.AssetName, tblAssets.Domain, tblAssets.FQDN, tblAssets.IPAddress, tblADComputers.OU, tblAssets.Firstseen,
tblAssets.Lastseen, tblSoftwareUni.softwareName, tblSoftware.softwareVersion, tblSoftwareUni.SoftwarePublisher, tblSoftware.Lastchanged
FROM tblAssets INNER JOIN
tsysOS ON tblAssets.OScode = tsysOS.OScode INNER JOIN
tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID INNER JOIN
tblSoftware ON tblAssets.AssetID = tblSoftware.AssetID INNER JOIN
tblSoftwareUni ON tblSoftware.softID = tblSoftwareUni.SoftID LEFT OUTER JOIN
tblADComputers ON tblAssets.AssetID = tblADComputers.AssetID
WHERE (tblAssetCustom.State = 1) AND (tblSoftwareUni.softwareName LIKE N'Microsoft%Office%')
‎05-08-2013 10:30 PM
SELECT tsysOS.Image AS icon, tblAssets.AssetID, tblAssets.AssetName, tblAssets.Domain, tblAssets.FQDN, tblAssets.IPAddress, tblADComputers.OU, tblAssets.Firstseen,
tblAssets.Lastseen, tblSoftwareUni.softwareName, tblSoftware.softwareVersion, tblSoftwareUni.SoftwarePublisher, tblSoftware.Lastchanged
FROM tblAssets INNER JOIN
tsysOS ON tblAssets.OScode = tsysOS.OScode INNER JOIN
tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID INNER JOIN
tblSoftware ON tblAssets.AssetID = tblSoftware.AssetID INNER JOIN
tblSoftwareUni ON tblSoftware.softID = tblSoftwareUni.SoftID LEFT OUTER JOIN
tblADComputers ON tblAssets.AssetID = tblADComputers.AssetID
WHERE (tblAssetCustom.State = 1) AND (tblSoftwareUni.softwareName LIKE N'Microsoft%Office%')
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now