‎07-22-2014 07:49 PM
Solved! Go to Solution.
‎07-23-2014 06:39 PM
Select Distinct Top (1000000) tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblOperatingsystem.Caption,
tblAssets.IPAddress,
tblAssets.Mac,
tblAssets.Processor,
tblAssets.NrProcessors,
Case
When tblProcessor.NumberOfLogicalProcessors > tblProcessor.NumberOfCores
Then 'yes' Else 'no' End As hyperthreading,
tblProcessor.NumberOfLogicalProcessors As ['total threads'],
tblProcessor.NumberOfCores,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
‎07-23-2014 06:39 PM
Select Distinct Top (1000000) tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblOperatingsystem.Caption,
tblAssets.IPAddress,
tblAssets.Mac,
tblAssets.Processor,
tblAssets.NrProcessors,
Case
When tblProcessor.NumberOfLogicalProcessors > tblProcessor.NumberOfCores
Then 'yes' Else 'no' End As hyperthreading,
tblProcessor.NumberOfLogicalProcessors As ['total threads'],
tblProcessor.NumberOfCores,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now