‎06-07-2016 06:18 PM
Solved! Go to Solution.
‎07-11-2016 11:48 AM
Select Top 1000000 tblAssets.AssetID,
tsysOS.Image As icon,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tblAssets.IPAddress,
tblOperatingsystem.Caption As OS,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblAssets.Lasttriggered,
tblAssets.LastScheduled,
tblAssets.LastActiveScan,
tblAssets.LastIPScan,
tblAssets.LastLsPush,
tblAssets.LastSaved,
tblAssets.Scanserver,
tblAssets.ServiceVersion,
tsyserrortype.Errorname As Error,
tblErrors.CFGname As Item,
tblErrors.ErrorText As Message
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblOperatingsystem On tblAssets.AssetID = tblOperatingsystem.AssetID
Left Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblErrors On tblAssets.AssetID = tblErrors.AssetID
Inner Join tsyserrortype On tblErrors.ErrorType = tsyserrortype.ErrorType
Where tblAssetCustom.State = 1
Order By tblAssets.AssetName,
Error
‎07-11-2016 02:15 PM
‎07-11-2016 11:48 AM
Select Top 1000000 tblAssets.AssetID,
tsysOS.Image As icon,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tblAssets.IPAddress,
tblOperatingsystem.Caption As OS,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblAssets.Lasttriggered,
tblAssets.LastScheduled,
tblAssets.LastActiveScan,
tblAssets.LastIPScan,
tblAssets.LastLsPush,
tblAssets.LastSaved,
tblAssets.Scanserver,
tblAssets.ServiceVersion,
tsyserrortype.Errorname As Error,
tblErrors.CFGname As Item,
tblErrors.ErrorText As Message
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblOperatingsystem On tblAssets.AssetID = tblOperatingsystem.AssetID
Left Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblErrors On tblAssets.AssetID = tblErrors.AssetID
Inner Join tsyserrortype On tblErrors.ErrorType = tsyserrortype.ErrorType
Where tblAssetCustom.State = 1
Order By tblAssets.AssetName,
Error
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now