
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2021 06:56 PM
Hi all,
I am having trouble putting together a report that does the following:
Find all assets that have hostname contain ABC OR 123
Last seen within last 30 days.
I am having trouble putting together a report that does the following:
Find all assets that have hostname contain ABC OR 123
Last seen within last 30 days.
Labels:
- Labels:
-
Report Center
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2021 11:00 PM
Excellent!
Thanks.
I had some trouble getting the date part to work, but finally, I got it to work this way:
tblAssets.Lastseen >= Current_TimeStamp - 30
Thanks.
I had some trouble getting the date part to work, but finally, I got it to work this way:
tblAssets.Lastseen >= Current_TimeStamp - 30
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2021 07:26 PM
...
WHERE
DateDiff(dd, tblAssets.Lastseen, GetDate()) <= 30
AND ( tblAssets.AssetName LIKE '%ABC%'
OR tblAssets.AssetName LIKE '%123%')
