‎10-04-2011 11:34 PM
Select Top 1000000 tblSoftware.softwareName As Software, tblComputers.Username
As Usager, tblADusers.Displayname As DisplayName, tblADusers.OU As OU
From tblComputers Left Join
tblSoftware On tblComputers.Computername = tblSoftware.ComputerName Inner Join
tblADusers On tblADusers.Username = tblComputers.Username
Where tblSoftware.softwareName Like 'Microsoft%Project%' And
Not tblSoftware.softwareName Like '%SQL%'
Group By tblSoftware.softwareName, tblComputers.Username,
tblADusers.Displayname, tblADusers.OU, tblSoftware.Lastchanged
Order By tblComputers.Username, tblSoftware.softwareName
‎10-06-2011 05:44 PM
‎10-06-2011 04:18 PM
Select Top 1000000 tblSoftware.softwareName As Software, tblComputers.Username
As Usager, tblADusers.Displayname As DisplayName, tblADusers.OU As OU
From tblComputers Left Join
tblSoftware On tblComputers.Computername = tblSoftware.ComputerName Inner Join
tblADusers On tblADusers.Username = tblComputers.Username
Group By tblSoftware.softwareName, tblComputers.Username,
tblADusers.Displayname, tblADusers.OU, tblSoftware.Lastchanged
Having (tblSoftware.softwareName Like 'Microsoft%Project%' And
tblSoftware.softwareName Not Like '%SQL%')
Order By tblComputers.Username, tblSoftware.softwareName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now