‎04-18-2014 06:51 PM
Solved! Go to Solution.
‎04-18-2014 07:09 PM
Select Top 1000000 tblAssetCustom.Location As Location,
tsysAssetTypes.AssetTypename As Type,
tblAssetCustom.BarCode As AssetID,
TsysChassisTypes.ChassisName As Chassis,
tblAssets.AssetName As Name,
tblOperatingsystem.Caption As OS,
tblOperatingsystem.ServicePackMajorVersion As SP,
tblAssetCustom.Manufacturer As Vendor,
tblAssetCustom.Model As Model,
tblAssetCustom.Serialnumber As SerialNumber,
tblAssets.IPAddress As IPAddress,
tblAssets.LastActiveScan As LastSeen
From tblAssets
Left Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Left Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblSystemEnclosure On tblSystemEnclosure.AssetID = tblAssets.AssetID
Left Join tblOperatingsystem On tblOperatingsystem.AssetID = tblAssets.AssetID
Left Join TsysChassisTypes On tblSystemEnclosure.ChassisTypes =
TsysChassisTypes.Chassistype
Where tsysAssetTypes.AssetTypename <> 'Location' And
((TsysChassisTypes.Chassistype <> 12) Or (TsysChassisTypes.Chassistype Is
Null))
Order By Location,
Type,
Chassis
‎04-18-2014 07:09 PM
Select Top 1000000 tblAssetCustom.Location As Location,
tsysAssetTypes.AssetTypename As Type,
tblAssetCustom.BarCode As AssetID,
TsysChassisTypes.ChassisName As Chassis,
tblAssets.AssetName As Name,
tblOperatingsystem.Caption As OS,
tblOperatingsystem.ServicePackMajorVersion As SP,
tblAssetCustom.Manufacturer As Vendor,
tblAssetCustom.Model As Model,
tblAssetCustom.Serialnumber As SerialNumber,
tblAssets.IPAddress As IPAddress,
tblAssets.LastActiveScan As LastSeen
From tblAssets
Left Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Left Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblSystemEnclosure On tblSystemEnclosure.AssetID = tblAssets.AssetID
Left Join tblOperatingsystem On tblOperatingsystem.AssetID = tblAssets.AssetID
Left Join TsysChassisTypes On tblSystemEnclosure.ChassisTypes =
TsysChassisTypes.Chassistype
Where tsysAssetTypes.AssetTypename <> 'Location' And
((TsysChassisTypes.Chassistype <> 12) Or (TsysChassisTypes.Chassistype Is
Null))
Order By Location,
Type,
Chassis
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now