→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
KKL
Engaged Sweeper
Hi everyone.
Now I managed to create 2 report errors trying to create this report in Report Builder.

Does anyone have an idea of what my SQL should be for the following:

Hardware report that shows all PCs with names beginning with "XSS" and with less than 1GB RAM?

Thanks
2 REPLIES 2
KKL
Engaged Sweeper
Thanks a lot!
Hemoco
Lansweeper Alumni
Select Top 100 Percent dbo.tblComputers.Computername As Computer,
Cast(Cast(dbo.tblComputersystem.TotalPhysicalMemory As BigInt) / 1024 /
1024 As Numeric) As Memory, dbo.tblComputers.Domain,
dbo.tblComputersystem.Model, dbo.tblComputers.Lastseen
From dbo.tblComputers Inner Join
dbo.tblComputersystem On dbo.tblComputers.Computername =
dbo.tblComputersystem.Computername
Where dbo.tblComputers.Computername Like 'XSS%' And
Cast(Cast(dbo.tblComputersystem.TotalPhysicalMemory As BigInt) / 1024 /
1024 As Numeric) < 1000
Order By dbo.tblComputers.Computername

Reports & Analytics

Ask about reports you're interested in and share reports you've created. Subscribe to receive daily updates of reports shared in the Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now