‎08-14-2018 08:30 AM
Comp. Name | File | Application
ABC | Found | Installed
CDE | | Installed
FGH | Found |
IJK | | Installed
WED | Found | Installed
Solved! Go to Solution.
‎08-14-2018 05:19 PM
Select Distinct Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblFileVersions.Found,
Case
When tblAssets.AssetID In (Select Top 1000000 tblSoftware.AssetID
From tblSoftware Inner Join tblSoftwareUni On tblSoftwareUni.SoftID =
tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%Chrome%') Then 'Installed'
Else 'Not Installed'
End As [Awesome Software],
tblAssets.Lastseen
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Join tblFileVersions On tblAssets.AssetID = tblFileVersions.AssetID
Left Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Left Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where
tblFileVersions.FilePathfull =
'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' And
tblAssetCustom.State = 1
‎08-15-2018 09:28 AM
‎08-14-2018 05:19 PM
Select Distinct Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblFileVersions.Found,
Case
When tblAssets.AssetID In (Select Top 1000000 tblSoftware.AssetID
From tblSoftware Inner Join tblSoftwareUni On tblSoftwareUni.SoftID =
tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%Chrome%') Then 'Installed'
Else 'Not Installed'
End As [Awesome Software],
tblAssets.Lastseen
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Join tblFileVersions On tblAssets.AssetID = tblFileVersions.AssetID
Left Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
Left Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where
tblFileVersions.FilePathfull =
'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' And
tblAssetCustom.State = 1
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now