‎12-16-2013 08:13 AM
Solved! Go to Solution.
‎12-16-2013 12:10 PM
SELECT TOP 1000000 tblAssets.AssetID, tblAssets.AssetUnique, tblAssets.Domain, tblAssets.Description, tsysOS.OSname,
tblAssets.Memory, tblAssetCustom.Model, tblAssets.Lastseen, tsysOS.Image AS icon, tblAssets.AssetID AS Expr1,
tsysIPLocations.IPLocation
FROM tblAssets LEFT OUTER JOIN
tsysIPLocations ON tblAssets.IPNumeric >= tsysIPLocations.StartIP AND
tblAssets.IPNumeric <= tsysIPLocations.EndIP INNER JOIN
tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID INNER JOIN
tsysOS ON tblAssets.OScode = tsysOS.OScode
WHERE (tblAssets.Memory = '2048') AND (tblAssetCustom.State = 1)
ORDER BY tblAssets.AssetName
‎12-16-2013 12:10 PM
SELECT TOP 1000000 tblAssets.AssetID, tblAssets.AssetUnique, tblAssets.Domain, tblAssets.Description, tsysOS.OSname,
tblAssets.Memory, tblAssetCustom.Model, tblAssets.Lastseen, tsysOS.Image AS icon, tblAssets.AssetID AS Expr1,
tsysIPLocations.IPLocation
FROM tblAssets LEFT OUTER JOIN
tsysIPLocations ON tblAssets.IPNumeric >= tsysIPLocations.StartIP AND
tblAssets.IPNumeric <= tsysIPLocations.EndIP INNER JOIN
tblAssetCustom ON tblAssets.AssetID = tblAssetCustom.AssetID INNER JOIN
tsysOS ON tblAssets.OScode = tsysOS.OScode
WHERE (tblAssets.Memory = '2048') AND (tblAssetCustom.State = 1)
ORDER BY tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now