‎10-06-2016 08:47 PM
Solved! Go to Solution.
‎10-12-2016 11:05 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName
From tblAssets
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Where tblAssetCustom.State = 1 And Exists(Select tblNtlog.AssetID,
tblNtlog.Eventcode From tblNtlog
Where tblNtlog.AssetID = tblAssets.AssetID And tblNtlog.Eventcode = '1055' And
tblNtlog.TimeGenerated >= DateAdd(dd, -30, GetDate()))
Order By tblAssets.AssetName
‎10-12-2016 11:05 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName
From tblAssets
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Where tblAssetCustom.State = 1 And Exists(Select tblNtlog.AssetID,
tblNtlog.Eventcode From tblNtlog
Where tblNtlog.AssetID = tblAssets.AssetID And tblNtlog.Eventcode = '1055' And
tblNtlog.TimeGenerated >= DateAdd(dd, -30, GetDate()))
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now