→ 🚀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: 
KHabershon
Engaged Sweeper II
SELECT * FROM

(
SELECT distinct tblComputers.Computername, tblComputers.Username
FROM tblComputers, tblADComputers, tblSoftware
WHERE tblADComputers.Computername = tblComputers.Computername
AND tblSoftware.ComputerName = tblADComputers.Computername
AND tblADComputers.OU LIKE '%OU=XXXX,DC=XXXX,dc=XXXX'
AND softwareName LIKE '%Microsoft Office Enterprise 2007%'
) A
,
(
SELECT distinct tblComputers.Computername, tblComputers.Username
FROM tblComputers, tblADComputers, tblSoftware
WHERE tblADComputers.Computername = tblComputers.Computername
AND tblSoftware.ComputerName = tblADComputers.Computername
AND tblADComputers.OU LIKE '%OU=XXXX,DC=XXXX,dc=XXXX'
AND softwareName LIKE '%Microsoft Office Professional Edition 2003%'
) B

WHERE A.Computername = B.Computername

If anyone is interested in using this.
0 REPLIES 0

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