‎07-15-2015 03:16 PM
Solved! Go to Solution.
‎07-16-2015 04:35 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Lastseen,
tblAssets.Lasttried,
tMonitor.AssetName
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblAssetRelations
On tblAssets.AssetID = tblAssetRelations.ParentAssetID
Inner Join tblAssets tMonitor
On tMonitor.AssetID = tblAssetRelations.ChildAssetID
Inner Join tblAssetCustom tMonitorCustom On tMonitorCustom.AssetID =
tMonitor.AssetID
Where tblAssetRelations.Type = 3 And tblAssetCustom.State <> 1 And
tMonitorCustom.State = 1
Order By tblAssets.AssetName,
tMonitor.AssetName
‎07-17-2015 03:57 PM
‎07-17-2015 01:31 PM
‎07-17-2015 01:28 PM
‎07-17-2015 12:11 PM
‎07-16-2015 09:53 PM
Error while saving: "Column names in each view or function must be unique. Column name 'AssetName' in view or function 'web50rep0ec253c5f570488cb4a139f927659aff' is specified more than once."
‎07-16-2015 04:35 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Lastseen,
tblAssets.Lasttried,
tMonitor.AssetName
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblAssetRelations
On tblAssets.AssetID = tblAssetRelations.ParentAssetID
Inner Join tblAssets tMonitor
On tMonitor.AssetID = tblAssetRelations.ChildAssetID
Inner Join tblAssetCustom tMonitorCustom On tMonitorCustom.AssetID =
tMonitor.AssetID
Where tblAssetRelations.Type = 3 And tblAssetCustom.State <> 1 And
tMonitorCustom.State = 1
Order By tblAssets.AssetName,
tMonitor.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now