Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Listing Subscribed SSRS Reports including Parameters & their Values

By Bhudev Prakash,

One of my friends Company needs analysis on subscribed reports & their parameters & values using ReportServer data of Reporting Services 2005/2008.


Subscriptions (table) let you create subscriptions to the report. Subscriptions allow you to set up periodic delivery of reports to end users by e-mail or file share.


Subscriptions table has [Parameters] column type of [ntext] and actually (as per best of my knowledge), it stores XML formatted data.


There may be multiple Subscribed Reports, having multiple parameters, and each parameter may have single/multiple values.


So there was need to retrieve each Subscribed Report, with detail information including report Name, Owner, LastRunTime, Parameters & their value(s) are subscribed etc.?


This is easy enough to do with cursors & temp variable/table approach but I was looking solution in simple way, and found it easier using CROSS APPLY, STUFF with FOR XML PATH, and simple CTE, please see script:

Total article views: 1718 | Views in the last 30 days: 10
 
Related Articles
FORUM

Report subscription with Sysdate as default Parameter

Report subscription with Sysdate as default Parameter

FORUM

Passing multiple values to a parameter in a DataDriven Subscription

Passing multiple values to a parameter in a DataDriven Subscription

FORUM

Report with invalid parameters stops sending subscriptions

One or more report parameters have an invalid parameter value causes subscription to stop

FORUM

Report Parameter

Problem report parameter!!!!

FORUM

e-mail subject line passing report parameter in subscription

e-mail subject line passing report paramerter in subscription

 
Contribute