‎06-02-2009 01:29 PM
SELECT
tblComputers.Computername,
tblComputers.LastknownIP,
tblComputers.LastActiveScan,
tblCompCustom.Department
FROM
web30repNoSymantec
INNER JOIN tblComputers ON (web30repNoSymantec.Computer = tblComputers.Computername)
INNER JOIN tblCompCustom ON (tblComputers.Computername = tblCompCustom.Computername)
‎06-07-2009 12:37 PM
‎06-05-2009 02:19 PM
SELECT TOP 100 PERCENT dbo.tblComputers.Computername, dbo.tblComputers.Domain, dbo.web30repallcompstates.Statename,
dbo.tblCompCustom.Department
FROM dbo.tblComputers INNER JOIN
dbo.web30repallcompstates ON dbo.tblComputers.Computername = dbo.web30repallcompstates.Computername LEFT OUTER JOIN
dbo.tblCompCustom ON dbo.web30repallcompstates.Computername = dbo.tblCompCustom.Computername
WHERE (dbo.tblCompCustom.Department IS NULL) OR
(dbo.tblCompCustom.Department = '')
ORDER BY dbo.tblComputers.Computername
‎06-03-2009 07:30 PM
‎06-02-2009 11:14 PM
‎06-02-2009 06:52 PM
SELECT TOP 100 PERCENT
dbo.tblComputers.Computername,
dbo.tblCompCustom.Department
FROM
dbo.tblComputers
LEFT OUTER JOIN dbo.tblCompCustom ON (dbo.tblComputers.Computername = dbo.tblCompCustom.Computername)
WHERE
dbo.tblCompCustom.Department = ''
ORDER BY
dbo.tblComputers.Computername
‎06-02-2009 03:47 PM
SELECT TOP 100 PERCENT
dbo.tblComputers.Computername,
dbo.tblCompCustom.Department
FROM
dbo.tblComputers
LEFT OUTER JOIN dbo.tblCompCustom ON (dbo.tblComputers.Computername = dbo.tblCompCustom.Computername)
WHERE
dbo.tblCompCustom.Department = 'N'
ORDER BY
dbo.tblComputers.Computername
‎06-02-2009 03:11 PM
SELECT TOP 100 PERCENT dbo.tblComputers.Computername, dbo.tblCompCustom.Department
FROM dbo.tblComputers LEFT OUTER JOIN
dbo.tblCompCustom ON dbo.tblComputers.Computername = dbo.tblCompCustom.Computername
WHERE (dbo.tblCompCustom.Department = N'')
ORDER BY dbo.tblComputers.Computername
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now