09-27-2013 05:43 PM
Solved! Go to Solution.
09-27-2013 06:03 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
Convert(Decimal(6,2),tblAssets.Uptime / 60 / 60 / 24) As Uptime
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where Convert(Decimal(6,2),tblAssets.Uptime / 60 / 60 / 24) > 7 And
tblAssetCustom.State = 1
Order By tblAssets.IPNumeric
10-08-2013 07:14 PM
dstjames wrote:
How would you restrict this to only computers or even better only workstations since I dont need to know when my servers or networking equipment last rebooted?
<2
10-08-2013 07:05 PM
10-01-2013 10:22 AM
09-27-2013 06:03 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
Convert(Decimal(6,2),tblAssets.Uptime / 60 / 60 / 24) As Uptime
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where Convert(Decimal(6,2),tblAssets.Uptime / 60 / 60 / 24) > 7 And
tblAssetCustom.State = 1
Order By tblAssets.IPNumeric
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now