‎07-22-2014 03:57 AM
Solved! Go to Solution.
‎07-22-2014 06:10 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.IPAddress,
tblAssets.Username,
Convert(Decimal(7,1),tblAssets.Uptime / 60 / 60 / 24) As [Uptime (Days)],
Convert(DECIMAL(9,1),tblAssets.Memory / 1024) As [Memory (GB)],
Convert(DECIMAL(3),tblPhysicalMemoryArray.MaxCapacity / 1024 / 1024)
As [Max Mem (GB)],
tblAssetCustom.Manufacturer,
tsysOS.OSname,
tblOperatingsystem.ServicePackMajorVersion As SP,
tblOperatingsystem.SerialNumber As [Windows Key],
tblAssets.Processor,
tblProcessor.NumberOfLogicalProcessors As Procs,
tblProcessor.NumberOfCores As Cores,
tblAssets.Mac
From tblComputersystem
Inner Join tblAssets On tblComputersystem.AssetID = tblAssets.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tblPhysicalMemoryArray On tblAssets.AssetID =
tblPhysicalMemoryArray.AssetID
Where tblComputersystem.Domainrole < 2 And tblAssetCustom.State = 1
Order By tblAssets.Memory,
tblAssets.AssetName
‎08-26-2014 11:53 AM
‎08-25-2014 06:50 PM
‎07-22-2014 06:49 PM
‎07-22-2014 06:10 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.IPAddress,
tblAssets.Username,
Convert(Decimal(7,1),tblAssets.Uptime / 60 / 60 / 24) As [Uptime (Days)],
Convert(DECIMAL(9,1),tblAssets.Memory / 1024) As [Memory (GB)],
Convert(DECIMAL(3),tblPhysicalMemoryArray.MaxCapacity / 1024 / 1024)
As [Max Mem (GB)],
tblAssetCustom.Manufacturer,
tsysOS.OSname,
tblOperatingsystem.ServicePackMajorVersion As SP,
tblOperatingsystem.SerialNumber As [Windows Key],
tblAssets.Processor,
tblProcessor.NumberOfLogicalProcessors As Procs,
tblProcessor.NumberOfCores As Cores,
tblAssets.Mac
From tblComputersystem
Inner Join tblAssets On tblComputersystem.AssetID = tblAssets.AssetID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tblPhysicalMemoryArray On tblAssets.AssetID =
tblPhysicalMemoryArray.AssetID
Where tblComputersystem.Domainrole < 2 And tblAssetCustom.State = 1
Order By tblAssets.Memory,
tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now