简体   繁体   中英

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.

What your looking for is the Subscription table.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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