Hi,
thanks, i think, now it is perfect.
(I filtered the uptime > 12h)
SQL:
Select Top 10000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Lastseen,
Floor(Floor(Floor(tblAssets.Uptime / 60) / 60) / 24) As days,
Floor(Floor(tblAssets.Uptime / 60) / 60) - (Floor(Floor(Floor(tblAssets.Uptime
/ 60) / 60) / 24) * 24) As hours,
Floor(tblAssets.Uptime / 60) - (Floor(Floor(tblAssets.Uptime / 60) /
60) * 60) As min,
tblAssets.Uptime - Floor(tblAssets.Uptime / 60) * 60 As sec
From tblAssetCustom
Inner Join tblAssets On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Where tblAssets.Uptime > 43200 And tblComputersystem.Domainrole = 1 And
tblAssetCustom.Manufacturer <> 'VMware, Inc.' And tblAssetCustom.State = 1
Order By tblAssets.Uptime Desc
regards
Andreas