‎02-01-2016 04:43 PM
Solved! Go to Solution.
‎02-04-2016 03:09 PM
Select Top 1000000 Case Coalesce(tblAssets.OScode, '')
When '' Then 'notscanned.png' Else tsysOS.Image End As Icon,
tblAssets.AssetName,
tblAssets.AssetID,
tblAssets.IPAddress As [IP Address],
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.Description,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber,
Case Coalesce(tblAssets.OScode, '') When '' Then 'Not scanned'
Else tsysOS.OSname End As OS,
tblAssets.SP,
tblAssets.Memory,
tblAssets.NrProcessors As [Proc],
tblAssets.Processor,
tblAssets.Lastseen,
tblAssetCustom.State As thestate
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Outer Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where tblAssets.Assettype = -1
Order By tblAssets.AssetName
‎02-04-2016 03:09 PM
Select Top 1000000 Case Coalesce(tblAssets.OScode, '')
When '' Then 'notscanned.png' Else tsysOS.Image End As Icon,
tblAssets.AssetName,
tblAssets.AssetID,
tblAssets.IPAddress As [IP Address],
tblAssets.Username,
tblAssets.Userdomain,
tblAssets.Description,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber,
Case Coalesce(tblAssets.OScode, '') When '' Then 'Not scanned'
Else tsysOS.OSname End As OS,
tblAssets.SP,
tblAssets.Memory,
tblAssets.NrProcessors As [Proc],
tblAssets.Processor,
tblAssets.Lastseen,
tblAssetCustom.State As thestate
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Outer Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where tblAssets.Assettype = -1
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now