Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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: 1456 | Views in the last 30 days: 20
 
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

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones