January 3, 2017 at 12:17 pm
Select top 100 * FROM Catalog
/* This table does not have the info I am looking for */
January 3, 2017 at 12:45 pm
have a look at ExecutionLog3 in the ReportServer database:
https://msdn.microsoft.com/en-us/library/ms159110(v=sql.110).aspx
January 3, 2017 at 2:13 pm
Cool
Our server is 2008. So the following worked
Use ReportServer
go
select TimeStart ts , * from ExecutionLog order by TimeStart DESC
select TimeStart ts , * from ExecutionLog2 order by TimeStart DESC
QUESTION: Why are there 2 tables ? ExecutionLog and ExecutionLog2
January 3, 2017 at 2:21 pm
Chris:
How do we know that a report was run manually or via a schedule ? Will this be correct ?
Use ReportServer
go
select ReportPath , COUNT(*) as CNT
from ExecutionLog2 WHERE REQUESTTYPE NOT IN ('Subscription')
GROUP BY ReportPath
ORDER BY 2 desc
January 3, 2017 at 2:35 pm
mw112009 (1/3/2017)
How do we know that a report was run manually or via a schedule ? Will this be correct ?
Yes the RequestType column values are {Interactive, Subscription}
There are multiple versions of this in views because they've added things in different versions of SQL Server but wanted to keep some backward compatibility.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply