/build/static/layout/Breadcrumb_cap_w.png

Custom Computer Asset Report Based Upon Last Modified

How do I create a report based upon when a computer asset was last modified and have it also display the last date modified?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: jverbosk 10 years ago
Red Belt
0

Not sure if this is exactly what you need or not, but here are a couple of variations - the computers are listed from most recently modified (top) to least (bottom):

 select A.NAME as COMPUTER_NAME,
A.MODIFIED as LAST_MODIFIED
from ASSET_DATA_5 AD5
left join ASSET A on AD5.ID = A.ASSET_DATA_ID and A.ASSET_TYPE_ID=5
order by LAST_MODIFIED desc

This variation only lists the date modified (drops the timestamp):

 select A.NAME as COMPUTER_NAME,
date(A.MODIFIED) as LAST_MODIFIED
from ASSET_DATA_5 AD5
left join ASSET A on AD5.ID = A.ASSET_DATA_ID and A.ASSET_TYPE_ID=5
order by LAST_MODIFIED desc

Hope that helps!  ^_^

John

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ