‎06-19-2009 09:49 PM
SELECT TOP 100 PERCENT
dbo.tblComputers.Computername AS Computer,
dbo.tblComputers.Username,
dbo.tblComputers.Lastseen
FROM
dbo.tblComputers
WHERE
computername NOT IN (SELECT DISTINCT dbo.tblComputers.Computername FROM dbo.tblComputers, dbo.tblfileversions WHERE dbo.tblFileVersions.FilePathfull LIKE '%SmcGui.exe%')
ORDER BY
dbo.tblComputers.Computername
‎06-22-2009 07:23 PM
SELECT TOP 100 PERCENT
dbo.tblComputers.Computername AS Computer,
dbo.tblComputers.Username,
dbo.tblComputers.Lastseen
FROM
dbo.tblComputers
WHERE
computername NOT IN (SELECT DISTINCT dbo.tblComputers.Computername FROM dbo.tblfileversions INNER JOIN dbo.tblComputers ON (dbo.tblfileversions.Computername = dbo.tblComputers.Computername) WHERE dbo.tblFileVersions.FilePathfull LIKE '%SmcGui.exe%')
ORDER BY
dbo.tblComputers.Computername
‎06-21-2009 10:12 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now