Udostępnij za pośrednictwem


Subscription Overview

A subscription is a standing request to deliver a report at a specific time or in response to an event, and then to have that report presented in a way that you define. Subscriptions provide an alternative to running a report on demand. On-demand reporting requires that you actively select the report each time you want to view the report. In contrast, subscriptions can be used to schedule and then automate the delivery of a report.

Standard and Data-Driven Subscriptions

Reporting Services supports two kinds of subscriptions: standard and data-driven. Standard subscriptions are created and managed by individual users. A standard subscription consists of static values that cannot be varied during subscription processing. For each standard subscription, there is exactly one set of report presentation options, delivery options, and report parameters.

Data-driven subscriptions are dynamic in that the presentation, delivery, and parameter values are retrieved at run time from a data source. You might use data-driven subscriptions if you have a very large recipient list or if you want to vary report output for each recipient. To use data-driven subscriptions, you must have expertise in building queries and an understanding of how parameters are used. Report server administrators typically create and manage these subscriptions. For more information, see Data-Driven Subscriptions.

E-Mail, File Share, and Custom Delivery

Subscriptions use delivery extensions to determine how to distribute a report and in what format. When a user creates a subscription, he or she can choose one of the available delivery extensions to determine how the report is delivered. Reporting Services includes support for e-mail delivery and delivery to a file share. Developers can create additional delivery extensions to route reports to other locations. Another delivery method is called the null delivery provider. This method is not available to users. Null delivery is used by administrators to improve report server performance by preloading the cache.

Parts of a Subscription

A subscription consists of the following parts:

  • A report that can run unattended (that is, a report that uses stored credentials or no credentials).
  • A delivery method (for example, e-mail) and settings for the mode of delivery (such as an e-mail address).
  • A rendering extension to present the report in a specific format.
  • Conditions for processing the subscription, which is expressed as an event.
    Usually, the conditions for running a report are time-based. For example, you may want to run a particular report every Tuesday at 3:00 P.M. GMT. However, if the report runs as a snapshot, you can specify that the subscription runs whenever the snapshot is refreshed.
  • Parameters used when running the report.
    Parameters are optional and are specified only for reports that accept parameter values. Because a subscription is typically user-owned, the parameter values that are specified vary from subscription to subscription. For example, sales managers for different divisions will use parameters that return data for their division. All parameters must have a value explicitly defined, or have a valid default value.

Subscription information is stored with individual reports in a report server database. You cannot manage subscriptions separately from the report to which they are associated. Note that subscriptions cannot be extended to include descriptions, other custom text, or other elements. Subscriptions can contain only the items listed earlier.

See Also

Concepts

Creating, Modifying, and Deleting Subscriptions
E-Mail Delivery in Reporting Services
File Share Delivery in Reporting Services

Other Resources

Delivering Reports Through Subscriptions
Managing Subscriptions
New Subscription / Edit Subscription Page (Report Manager)
Create Data-driven Subscription Page (Report Manager)

Help and Information

Getting SQL Server 2005 Assistance