﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Reporting Services / Reporting Services  / Query to get list of susbscriptions with params and values / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 04:24:28 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Query to get list of susbscriptions with params and values</title><link>http://www.sqlservercentral.com/Forums/Topic1358274-150-1.aspx</link><description>This should get you to a pretty good starting point[code="sql"]SELECT	U.UserName AS SubscriptionOwner,	C.Path AS ReportPath,	CONVERT(XML,S.ExtensionSettings) AS SubscriptionSettings,	S.EventType AS SubscriptionType,	CONVERT(XML,S.Parameters) AS ReportParameters,	S.DeliveryExtension AS DeliveryMethod,	Sc.Name AS ScheduleName,	Rs.ScheduleIDFROM	Subscriptions SINNER JOIN	Users UON	S.OwnerID = U.UserIDINNER JOIN	Catalog CON	S.Report_OID = C.ItemIDINNER JOIN	ReportSchedule RSON	S.SubscriptionID = RS.SubscriptionIDINNER JOIN	Schedule ScON	RS.ScheduleID = Sc.ScheduleIDORDER BY	1,2[/code]</description><pubDate>Thu, 13 Sep 2012 01:56:23 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>Query to get list of susbscriptions with params and values</title><link>http://www.sqlservercentral.com/Forums/Topic1358274-150-1.aspx</link><description>I've be searching and trying for hours to get a query that gives me all current subscriptions from and SSRS serv with parameters and their values, so that they can be recreated on a new server (after pruning)        For example a simple report might be HoursByDepartment that takes three params:        @From =Today - 7 days (Default)    @To   = Today (Default)    @Dept = 2 (part of subscription)        What I want to get is something along these lines (or something that will let me create a report)        Report            ParamName   ParamValue    Default    HoursByDepartment From        Today-7days    True    HoursByDepartment To          Today          True    HoursByDepartment Dept        2              False        OR         Report             Param1Name   Param1Value   Param1Def   Param2Name   Param2Value    Param2Def         HoursByDepartment  From         Today-7days   True        To           Today          True        I'm pretty good with XSl, so if i could get something like, I could work with it        &amp;lt;subid&amp;gt;        &amp;lt;report&amp;gt;            &amp;lt;ParameterValues&amp;gt;                &amp;lt;ParameterValue&amp;gt;                    &amp;lt;Name&amp;gt;MinAvailable&amp;lt;/Name&amp;gt;                    &amp;lt;Value&amp;gt;10000&amp;lt;/Value&amp;gt;                &amp;lt;/ParameterValue&amp;gt;                &amp;lt;ParameterValue&amp;gt;                    &amp;lt;Name&amp;gt;OwnerIDs&amp;lt;/Name&amp;gt;                    &amp;lt;Value&amp;gt;0&amp;lt;/Value&amp;gt;                &amp;lt;/ParameterValue&amp;gt;                &amp;lt;ParameterValue&amp;gt;                    &amp;lt;Name&amp;gt;ShowCosts&amp;lt;/Name&amp;gt;                    &amp;lt;Value&amp;gt;False&amp;lt;/Value&amp;gt;                &amp;lt;/ParameterValue&amp;gt;                &amp;lt;ParameterValue&amp;gt;                    &amp;lt;Name&amp;gt;MinValue&amp;lt;/Name&amp;gt;                    &amp;lt;Value&amp;gt;0&amp;lt;/Value&amp;gt;                &amp;lt;/ParameterValue&amp;gt;            &amp;lt;/ParameterValues&amp;gt;        &amp;lt;/report&amp;gt;    &amp;lt;/subid&amp;gt;            Regards        Mark</description><pubDate>Wed, 12 Sep 2012 18:03:31 GMT</pubDate><dc:creator>mark 4643</dc:creator></item></channel></rss>