Quote:
Originally Posted by johnny07
Hello, i hope someone can help me to create a report.
building sql queries is not my thing.
all i want is a report that shows computers without "sophos anti-virus" showing up in "add remove programs"
I think this not to difficult for people with knowledge of sql syntax.
Thanks in advance,
Johnny
|
well here are some samples that you can play around with...
this will help you look for an app....
like adobe
Code:
-- code to look for a type of app
Select t0.Name, t0.version,Count(t0.name)
From [inv_aex_os_add_remove_programs] t0
--Edit app looking for. keep it short for more apps
Where t0.[name] like'soph%'
Groupby t0.Name, t0.version
so just put a not like for sophos...
just test the one above to verify that it sees sophos first..
Code:
-- code to look for a type of app
Select t0.Name, t0.version,Count(t0.name)
From [inv_aex_os_add_remove_programs] t0
--Edit app looking for. keep it short for more apps
Where t0.[name] notlike'sopho%'
Groupby t0.Name, t0.version