‎02-23-2015 06:39 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblSoftwareUni.softwareName As software,
tblSoftware.softwareVersion As version,
tsysOS.Image As icon
From tblSoftware
Inner Join tblAssets On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where (tblSoftwareUni.softwareName Like 'Autodesk Revit Architecture 2014' And
tblAssetCustom.State = 1) Or
(tblSoftwareUni.softwareName Like 'Autodesk Revit MEP 2014') Or
(tblSoftwareUni.softwareName Like 'Autodesk Revit 2014')
Order By software,
tblAssets.AssetName,
version
Solved! Go to Solution.
‎02-24-2015 02:45 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblSoftwareUni.softwareName As software,
Case tblSoftware.softwareVersion When '13.07.09211' Then 'Your Custom Value 1' When '13.10.24211' Then 'Your Custom Value 2' End As version ,
tsysOS.Image As icon
From tblSoftware
Inner Join tblAssets On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where (tblSoftwareUni.softwareName Like 'Autodesk Revit Architecture 2014' And
tblAssetCustom.State = 1) Or
(tblSoftwareUni.softwareName Like 'Autodesk Revit MEP 2014' And
tblAssetCustom.State = 1) Or
(tblSoftwareUni.softwareName Like 'Autodesk Revit 2014' And
tblAssetCustom.State = 1)
Order By software,
tblAssets.AssetName,
version
‎02-26-2015 08:55 AM
‎02-25-2015 10:33 PM
‎02-24-2015 02:45 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblSoftwareUni.softwareName As software,
Case tblSoftware.softwareVersion When '13.07.09211' Then 'Your Custom Value 1' When '13.10.24211' Then 'Your Custom Value 2' End As version ,
tsysOS.Image As icon
From tblSoftware
Inner Join tblAssets On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where (tblSoftwareUni.softwareName Like 'Autodesk Revit Architecture 2014' And
tblAssetCustom.State = 1) Or
(tblSoftwareUni.softwareName Like 'Autodesk Revit MEP 2014' And
tblAssetCustom.State = 1) Or
(tblSoftwareUni.softwareName Like 'Autodesk Revit 2014' And
tblAssetCustom.State = 1)
Order By software,
tblAssets.AssetName,
version
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now