‎02-19-2016 01:11 PM
Solved! Go to Solution.
‎02-19-2016 09:09 PM
‎02-26-2016 07:00 PM
SELECT
...
CASE
WHEN tblPortableBattery.AssetID IS NULL
THEN 'Desktop'
ELSE 'Notebook'
END as MachineClass,
...
FROM ...
LEFT JOIN tblPortableBattery ON tblPortableBattery.AssetID = tblAssets.AssetID
‎02-25-2016 05:49 PM
Case When TsysChassisTypes.ChassisName = 'Portable' Then 'Laptop'
When TsysChassisTypes.ChassisName = 'Notebook' Then 'Laptop'
When TsysChassisTypes.ChassisName = 'Laptop' Then 'Laptop'
When TsysChassisTypes.ChassisName = 'Desktop' Then 'Desktop'
When TsysChassisTypes.ChassisName = 'Mini Tower' Then 'Desktop'
When TsysChassisTypes.ChassisName = 'Space-Saving' Then 'Desktop'
When TsysChassisTypes.ChassisName = 'Low Profile' Then 'Desktop'
When TsysChassisTypes.ChassisName = 'Tower' Then 'Desktop'
When TsysChassisTypes.ChassisName = 'Main System' Then 'Desktop'
When TsysChassisTypes.ChassisName = 'Rack Mount' Then 'Desktop'
When TsysChassisTypes.ChassisName = 'Lunchbox' Then 'Desktop'
Else 'Not Defined' End As [Chassis Style]
‎02-25-2016 11:37 AM
‎02-22-2016 05:48 PM
‎02-19-2016 09:09 PM
‎02-19-2016 04:46 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now