‎02-21-2013 11:51 PM
Solved! Go to Solution.
‎02-22-2013 12:36 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Username,
tblNetwork.IPAddress,
tblNetwork.DNSServerSearchOrder,
tsysIPLocations.IPLocation
From tblAssets
Inner Join tblNetwork On tblAssets.AssetID = tblNetwork.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Left Outer Join tsysIPLocations On tblAssets.IPNumeric >=
tsysIPLocations.StartIP And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Where (tblNetwork.IPAddress <> '0.0.0.0' And tblNetwork.IPAddress <> '') And
tblNetwork.IPEnabled = 1 And tblNetwork.DHCPenabled = 0 And
tblAssetCustom.State = 1
Order By tblAssets.AssetName
‎02-22-2013 04:36 PM
‎02-22-2013 12:36 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Username,
tblNetwork.IPAddress,
tblNetwork.DNSServerSearchOrder,
tsysIPLocations.IPLocation
From tblAssets
Inner Join tblNetwork On tblAssets.AssetID = tblNetwork.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Left Outer Join tsysIPLocations On tblAssets.IPNumeric >=
tsysIPLocations.StartIP And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Where (tblNetwork.IPAddress <> '0.0.0.0' And tblNetwork.IPAddress <> '') And
tblNetwork.IPEnabled = 1 And tblNetwork.DHCPenabled = 0 And
tblAssetCustom.State = 1
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now