
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2013 04:23 PM
Hi,
I am trying to create a report, similar to Memory Upgrade Report, but I want it to show me all the computers, not just the one that can be upgraded.
My idea is to see, the assetname, OSname, Model, MaxCapacity, Memory, Slots used, Slots available and Slots free.
This is the SQL I have, I would like to add the missing data
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Domain,
tblAssets.Description,
tsysOS.OSname,
tblAssetCustom.Model,
tblAssets.Lastseen,
tsysOS.Image As icon,
tblAssets.Memory,
tblPhysicalMemoryArray.MemoryDevices
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblPhysicalMemoryArray On tblAssets.AssetID =
tblPhysicalMemoryArray.AssetID
Where tblAssetCustom.State = 1
Order By tblAssets.AssetName
I am trying to create a report, similar to Memory Upgrade Report, but I want it to show me all the computers, not just the one that can be upgraded.
My idea is to see, the assetname, OSname, Model, MaxCapacity, Memory, Slots used, Slots available and Slots free.
This is the SQL I have, I would like to add the missing data
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.Domain,
tblAssets.Description,
tsysOS.OSname,
tblAssetCustom.Model,
tblAssets.Lastseen,
tsysOS.Image As icon,
tblAssets.Memory,
tblPhysicalMemoryArray.MemoryDevices
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Inner Join tblPhysicalMemoryArray On tblAssets.AssetID =
tblPhysicalMemoryArray.AssetID
Where tblAssetCustom.State = 1
Order By tblAssets.AssetName
Solved! Go to Solution.
Labels:
- Labels:
-
Report Center
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2013 10:13 PM
Since you say that the Memory Upgrade report has most of what you want, why not start with that? Copy the query to a new report, remove the condition that limits the results to machines with empty memory slots
Wherebecomes
(tblPhysicalMemoryArray.MemoryDevices - CorrectMemory.Used > 0)
And (tblPhysicalMemoryArray.[Use] = 3
And tblAssetCustom.State = 1)
Whereand add the extra fields you want.
(tblPhysicalMemoryArray.[Use] = 3
And tblAssetCustom.State = 1)
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2019 05:38 PM
Tried the same thing it did not work for me can you send me the report or paste it completely. That way i can paste it and run it ?
this would be so helpful been trying to crack it down for one week already
Thanks
this would be so helpful been trying to crack it down for one week already
Thanks

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2013 01:22 PM
Thank you very much, that was exactly what I needed
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2013 10:13 PM
Since you say that the Memory Upgrade report has most of what you want, why not start with that? Copy the query to a new report, remove the condition that limits the results to machines with empty memory slots
Wherebecomes
(tblPhysicalMemoryArray.MemoryDevices - CorrectMemory.Used > 0)
And (tblPhysicalMemoryArray.[Use] = 3
And tblAssetCustom.State = 1)
Whereand add the extra fields you want.
(tblPhysicalMemoryArray.[Use] = 3
And tblAssetCustom.State = 1)
