SSRS订阅创建日期?

时间:2015-01-16 18:58:59

标签: reporting-services subscription

在reportserver数据库的订阅表中似乎没有创建日期。 我们有什么方法可以找到创建订阅的时间吗?

谢谢

1 个答案:

答案 0 :(得分:1)

这是一种方法

select c.name,s.date_created, * from ReportSchedule rs  
JOIN msdb.dbo.sysjobs s ON s.name = convert(varchar(max),rs.ScheduleID)
JOIN ReportServer.dbo.Subscriptions sb
ON rs.SubscriptionID = sb.SubscriptionID
JOIN ReportServer.dbo.Catalog c
ON sb.report_oid = c.itemid
ORDER BY s.date_created desc

s.date_created是创建日期