‎06-19-2018 10:48 AM
‎07-03-2018 04:04 PM
Select Top 1000000 Count(tblConfigLog.LogID) As AssetDeleteCount,
DatePart(mm, tblConfigLog.Date) As Month,
DatePart(yyyy, tblConfigLog.Date) As Year
From tblConfigLog
Where tblConfigLog.Description Like 'Deleted asset with name%'
Group By DatePart(mm, tblConfigLog.Date),
DatePart(yyyy, tblConfigLog.Date),
tblConfigLog.Description
Order By Year Desc,
Month Desc
‎07-06-2018 11:21 AM
‎07-03-2018 09:39 AM
‎06-19-2018 05:58 PM
Select Top 1000000 Count(tblAssets.AssetID) As AssetCount,
DatePart(mm, tblAssets.Firstseen) As Month,
DatePart(yyyy, tblAssets.Firstseen) As Year
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tsysAssetTypes.AssetTypename = 'Windows'
Group By DatePart(mm, tblAssets.Firstseen),
DatePart(yyyy, tblAssets.Firstseen),
tsysAssetTypes.AssetTypename
Order By Year Desc,
Month Desc
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now