‎06-05-2015 09:21 AM
Solved! Go to Solution.
‎06-05-2015 02:58 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen,
tblAssetCustom.Serialnumber,
DateDiff(Year, tblAssetCustom.PurchaseDate, GetDate()) As Age
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssetCustom.State = 1
Order By Age Desc
‎06-05-2015 03:58 PM
‎06-05-2015 02:58 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen,
tblAssetCustom.Serialnumber,
DateDiff(Year, tblAssetCustom.PurchaseDate, GetDate()) As Age
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssetCustom.State = 1
Order By Age Desc
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now