‎04-11-2011 07:06 PM
Solved! Go to Solution.
‎04-11-2011 08:14 PM
Select Top 1000000 dbo.tblComputers.Computer, dbo.tblComputers.Domain,
dbo.tblComputers.Description, dbo.tblComputers.Lastseen,
dbo.tblComputers.LastknownIP, Web40OSName.OSname, tblComputersystem.SystemType
From dbo.tblComputers Inner Join
dbo.web40ActiveComputers On dbo.tblComputers.Computername =
dbo.web40ActiveComputers.Computername Inner Join
Web40OSName On Web40OSName.Computername = dbo.tblComputers.Computername
Inner Join
tblOperatingsystem On dbo.tblComputers.Computername =
tblOperatingsystem.Computername Inner Join
tblComputersystem On dbo.tblComputers.Computername =
tblComputersystem.Computername
Where dbo.tblComputers.Computername Not In (Select dbo.tblSoftware.ComputerName
From dbo.tblSoftware Cross Join dbo.tsysantivirus
Where dbo.tblSoftware.softwareName Like dbo.tsysantivirus.Software) And
tblComputersystem.Domainrole < 2
Order By dbo.tblComputers.Computer
‎04-11-2011 08:14 PM
Select Top 1000000 dbo.tblComputers.Computer, dbo.tblComputers.Domain,
dbo.tblComputers.Description, dbo.tblComputers.Lastseen,
dbo.tblComputers.LastknownIP, Web40OSName.OSname, tblComputersystem.SystemType
From dbo.tblComputers Inner Join
dbo.web40ActiveComputers On dbo.tblComputers.Computername =
dbo.web40ActiveComputers.Computername Inner Join
Web40OSName On Web40OSName.Computername = dbo.tblComputers.Computername
Inner Join
tblOperatingsystem On dbo.tblComputers.Computername =
tblOperatingsystem.Computername Inner Join
tblComputersystem On dbo.tblComputers.Computername =
tblComputersystem.Computername
Where dbo.tblComputers.Computername Not In (Select dbo.tblSoftware.ComputerName
From dbo.tblSoftware Cross Join dbo.tsysantivirus
Where dbo.tblSoftware.softwareName Like dbo.tsysantivirus.Software) And
tblComputersystem.Domainrole < 2
Order By dbo.tblComputers.Computer
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now