→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎05-19-2014 07:59 PM
Solved! Go to Solution.
‎03-02-2015 10:01 AM
‎03-02-2015 10:01 AM
‎05-21-2014 12:47 AM
SELECT Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
DateAdd(second, 0 - tblAssets.Uptime, tblAssets.Lastseen) AS LastBoot,
Convert(Decimal(6,2),tblAssets.Uptime / 60 / 60 / 24) AS DaysUp
FROM
tblAssets
INNER JOIN tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID
INNER JOIN tsysAssetTypes ON tsysAssetTypes.AssetType = tblAssets.Assettype
WHERE
tblAssetCustom.State = 1
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now