Sql SSRS报告每个报告的上次执行时间
我有75个SSRS报告,我需要在DateTime最新(最大)执行每个报告。您能帮我查询一下吗?您可以使用catalog和executionlog表来获取此信息Sql SSRS报告每个报告的上次执行时间,sql,sql-server,reporting-services,ssrs-2008,Sql,Sql Server,Reporting Services,Ssrs 2008,我有75个SSRS报告,我需要在DateTime最新(最大)执行每个报告。您能帮我查询一下吗?您可以使用catalog和executionlog表来获取此信息 SELECT c.Name, c.[Path], MAX(e.TimeStart) as LastRun FROM ReportServer.dbo.Catalog c join ReportServer.dbo.ExecutionLog e on c.ItemID = e.ReportID GROUP BY c.n
SELECT
c.Name, c.[Path], MAX(e.TimeStart) as LastRun
FROM ReportServer.dbo.Catalog c
join ReportServer.dbo.ExecutionLog e on c.ItemID = e.ReportID
GROUP BY c.name, c.[Path]