简体   繁体   English

SSRS 报告订阅历史

[英]SSRS report Subscription History

I wanted the count of number of subscriptions of a report, Did a lot of research but unable to get the detail.我想要一份报告的订阅数,做了很多研究但无法获得详细信息。 I did used Catalog and Execution log table, which just gives number of times report got executed but not the history of count of subscription with different parameters, Request any to provide any hint to acheive the task我确实使用了目录和执行日志表,它只给出了执行报告的次数,但没有给出不同参数的订阅计数历史,请求任何提供任何提示来完成任务

ExecutionLog will return one record for every time a report was executed that is available based on your history retention.每次执行报告时, ExecutionLog将根据您的历史保留返回一条记录。

What your looking for is the Subscription table.您要查找的是 Subscription 表。

SELECT
    *
FROM
    dbo.Catalog            AS CAT
    JOIN dbo.Subscriptions AS SUB
        ON CAT.ItemID = SUB.Report_OID
WHERE
    CAT.[Name] = 'My Report Name';

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM