→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎04-22-2021 09:29 AM
Solved! Go to Solution.
‎05-05-2021 05:03 PM
Select Top 1000000 Count(tblQuickFixEngineering.QFEID) As [Count Of KB's],
tblQuickFixEngineeringUni.HotFixID
From tblAssets
Inner Join tblQuickFixEngineering On
tblAssets.AssetID = tblQuickFixEngineering.AssetID
Inner Join tblQuickFixEngineeringUni On tblQuickFixEngineeringUni.QFEID =
tblQuickFixEngineering.QFEID
Where DateDiff(dd, tblQuickFixEngineering.InstalledOn, GetDate()) / 365.25 < 1
Group By tblQuickFixEngineeringUni.HotFixID
‎05-06-2021 12:29 AM
‎05-05-2021 05:03 PM
Select Top 1000000 Count(tblQuickFixEngineering.QFEID) As [Count Of KB's],
tblQuickFixEngineeringUni.HotFixID
From tblAssets
Inner Join tblQuickFixEngineering On
tblAssets.AssetID = tblQuickFixEngineering.AssetID
Inner Join tblQuickFixEngineeringUni On tblQuickFixEngineeringUni.QFEID =
tblQuickFixEngineering.QFEID
Where DateDiff(dd, tblQuickFixEngineering.InstalledOn, GetDate()) / 365.25 < 1
Group By tblQuickFixEngineeringUni.HotFixID
‎05-06-2021 12:27 AM
Andy.S wrote:
Hi Darren,
Is this what you after, so its a count of KB's by KB Install date within 365 Days ?Select Top 1000000 Count(tblQuickFixEngineering.QFEID) As [Count Of KB's],
tblQuickFixEngineeringUni.HotFixID
From tblAssets
Inner Join tblQuickFixEngineering On
tblAssets.AssetID = tblQuickFixEngineering.AssetID
Inner Join tblQuickFixEngineeringUni On tblQuickFixEngineeringUni.QFEID =
tblQuickFixEngineering.QFEID
Where DateDiff(dd, tblQuickFixEngineering.InstalledOn, GetDate()) / 365.25 < 1
Group By tblQuickFixEngineeringUni.HotFixID
Date code from here :- https://www.lansweeper.com/forum/yaf_postsm57381_All-computers-purchased-within-the-last-X-number-of-years.aspx#post57381
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now