如何在 SSRS 报告管理器中启用 "When Run" 列
How to enable "When Run" column in SSRS report manager
如何在 ssrs 报告管理器中填充 When 运行 字段?
当您在报表管理器中单击“显示详细信息”时,不会填充最后一个字段。
如果您确实需要查明上次报告的时间 运行,您将直接进入 ReportServer
数据库获得更多信息。
这会让你得到你想要的:
select C.[Name]
,C.ExecutionTime
,max(EL.TimeStart) as LastRunTime
from dbo.ExecutionLog as EL
inner join dbo.[Catalog] as C
on EL.ReportID = C.ItemID
where c.[Name] = 'Your Report Name'
group by C.[Name]
,C.ExecutionTime;
尽管我建议您查看一下 Catalog
和 Execution Log
看看是否还有其他您可能会觉得有用的东西,比如使用的报告参数,报告花费了多长时间运行 和谁 运行 等等
如何在 ssrs 报告管理器中填充 When 运行 字段?
当您在报表管理器中单击“显示详细信息”时,不会填充最后一个字段。
如果您确实需要查明上次报告的时间 运行,您将直接进入 ReportServer
数据库获得更多信息。
这会让你得到你想要的:
select C.[Name]
,C.ExecutionTime
,max(EL.TimeStart) as LastRunTime
from dbo.ExecutionLog as EL
inner join dbo.[Catalog] as C
on EL.ReportID = C.ItemID
where c.[Name] = 'Your Report Name'
group by C.[Name]
,C.ExecutionTime;
尽管我建议您查看一下 Catalog
和 Execution Log
看看是否还有其他您可能会觉得有用的东西,比如使用的报告参数,报告花费了多长时间运行 和谁 运行 等等