→ 🚀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: 
creinking
Engaged Sweeper
I accidentally broke the query when I was adding location and now this report doesn't run. Can anyone just simply post the original report sql query here? Thanks!
2 REPLIES 2
creinking
Engaged Sweeper
Thank you very much!
Hemoco
Lansweeper Alumni
You can recreate the report as follows:


View name
netlatestSP2008R2

Report name
OS: Not latest Service Pack Win2008 R2

SQL query
Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique, tblComputers.Domain, Web40OSName.OSname, tblOperatingsystem.Description, tblOperatingsystem.ServicePackMajorVersion As [Current SP], tblComputers.Lastseen, Web40OSName.Compimage As icon From tblOperatingsystem Inner Join tblComputers On tblOperatingsystem.Computername = tblComputers.Computername Inner Join web40ActiveComputers On tblComputers.Computername = web40ActiveComputers.Computername Inner Join Web40OSName On Web40OSName.Computername = tblComputers.Computername Where Web40OSName.OSname = 'Win 2008 R2' And tblOperatingsystem.ServicePackMajorVersion <> '1' Order By dbo.tblComputers.Computer

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders 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