‎08-21-2017 11:12 AM
Solved! Go to Solution.
‎08-28-2017 11:10 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Description,
tblBaseBoard.Manufacturer,
tblBaseBoard.Product As Motherboard,
tblProcessor.Name As Processor,
Ceiling(tblAssets.Memory / 1024) As Ram,
tblAssets.Firstseen,
tblAssetCustom.PurchaseDate,
tblState.Statename,
tblOperatingsystem.Caption
From tblComputersystem
Inner Join tblAssets On tblComputersystem.AssetID = tblAssets.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblBaseBoard On tblAssets.AssetID = tblBaseBoard.AssetID
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Where tblAssets.AssetID Not In (Select Top 1000000 tblAssetUserRelations.AssetID
From tblAssetUserRelations)
Order By tblAssets.AssetName
‎08-28-2017 11:10 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Description,
tblBaseBoard.Manufacturer,
tblBaseBoard.Product As Motherboard,
tblProcessor.Name As Processor,
Ceiling(tblAssets.Memory / 1024) As Ram,
tblAssets.Firstseen,
tblAssetCustom.PurchaseDate,
tblState.Statename,
tblOperatingsystem.Caption
From tblComputersystem
Inner Join tblAssets On tblComputersystem.AssetID = tblAssets.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblBaseBoard On tblAssets.AssetID = tblBaseBoard.AssetID
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Where tblAssets.AssetID Not In (Select Top 1000000 tblAssetUserRelations.AssetID
From tblAssetUserRelations)
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now