Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Bart_van_den_Bo
Engaged Sweeper III
Hello,

As a starting SQL scripter I'm trying to get a report with:

All computers which have 'SafeGuard Enterprise 5.30.0 Client' installed but not have 'SafeGuard Enterprise 5.35.2 Client ' installed. In the report i would like to have the computername and description.

SELECT distinct
dbo.tblSoftware.ComputerName,dbo.tblADComputers.Description
FROM dbo.tblSoftware,dbo.tblADComputers
WHERE (softwareName = 'SafeGuard Enterprise 5.30.0 Client')
AND (NOT (softwareName = 'SafeGuard Enterprise 5.35.2 Client '))

The script above gives me a huge list with the same computernames. So obviously i'm doing something wrong. But i cannot figure out what.

Any help is appreciated.

1 REPLY 1
Cobra7
Champion Sweeper
This may help: http://www.lansweeper.com/forum/yaf_postst611_Adobe-Reader-9-Help.aspx

Otherwise let me know and I can give you other examples.

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