‎04-12-2012 07:40 PM
‎04-13-2012 07:22 PM
‎04-13-2012 09:48 AM
INSERT INTO tblCompCustom (Computername)
SELECT Computername
FROM tblComputers
WHERE (Computername NOT IN (SELECT Computername FROM tblCompCustom AS tblCompCustom_1))
GO
UPDATE tblCompCustom
SET Branchoffice = 'Office 1'
FROM tblCompCustom INNER JOIN
tblComputers ON tblCompCustom.Computername = tblComputers.Computername
WHERE (tblComputers.Computer LIKE 'LAN%')
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now