→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎11-10-2014 11:16 PM
Solved! Go to Solution.
‎11-11-2014 12:05 AM
ORDER BY
tblSoftwareUni.SoftwareName,
tblAssets.AssetName
WHERE
tblAssetCustom.State = 1
AND ( tblSoftwareUni.SoftwareName = 'software name 1'
OR tblSoftwareUni.SoftwareName = 'software name 2'
OR tblSoftwareUni.SoftwareName LIKE 'softw%'
)
WHERE
tblAssetCustom.State = 1
AND tblSoftwareUni.SoftwareName IN ('software 1', 'software 2', 'software 3')
‎02-09-2015 08:24 PM
‎02-09-2015 02:51 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
SW1.SW1Name,
SW1.SW1Version,
SW2.SW2Name,
SW2.SW2Version
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join (Select tblSoftware.softwareVersion As SW1Version,
tblSoftwareUni.softwareName As SW1Name,
tblSoftware.AssetID
From tblSoftware
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Where tblSoftwareUni.softwareName Like 'Software 1%') SW1 On SW1.AssetID =
tblAssets.AssetID
Inner Join (Select tblSoftware.softwareVersion As SW2Version,
tblSoftwareUni.softwareName As SW2Name,
tblSoftware.AssetID
From tblSoftware
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Where tblSoftwareUni.softwareName Like 'Software 2%') SW2 On SW2.AssetID =
tblAssets.AssetID
Where tblAssetCustom.State = 1
‎02-06-2015 08:48 PM
‎11-11-2014 12:05 AM
ORDER BY
tblSoftwareUni.SoftwareName,
tblAssets.AssetName
WHERE
tblAssetCustom.State = 1
AND ( tblSoftwareUni.SoftwareName = 'software name 1'
OR tblSoftwareUni.SoftwareName = 'software name 2'
OR tblSoftwareUni.SoftwareName LIKE 'softw%'
)
WHERE
tblAssetCustom.State = 1
AND tblSoftwareUni.SoftwareName IN ('software 1', 'software 2', 'software 3')
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now