Download presentation
Presentation is loading. Please wait.
Published byΑμάλθεια Ανδρέου Modified over 5 years ago
1
Data Driven Subscription Reports with SSRS Standard Edition
Brodie Brickey Data Driven Subscription Reports with SSRS Standard Edition
2
Who is this talk geared toward?
Developers & DBAs working for: A company with a restricted budget that can’t pay for an Enterprise license. Or A situation requiring individual successful sent confirmation.
3
What are Data Driven Subscription Reports?
Reports render & send only when there are reports with data. Job runs each time on a schedule. Positives Avoids sending reports that aren’t needed. If you receive a report it is important. Negatives Usually requires SQL Server Enterprise Edition ($14k for 2 cores) Without Enterprise will require SSRS & SSIS to accomplish. A little more complex to accomplish.
4
Segments of the Process
SSRS Main report with a passed parameter. SQL Create a stored procedure to identify the group to receive the notification. SSIS Package to stitch it all together. SERVER Location for rendered reports and SSRS.rdl file.
5
Demo
6
Deployment
7
Deployment SQL Server Stored Procedure
Grant Rights on SSRS user account to Execute. SQL Agent account must have rights to the DB Server file system. SSRS Main report for the notification SSIS Deploy package Ensure DB Server file system has the folder specified in SSIS created.
8
Future Enhancements Add another loop to gather the reports you want to run. Create a table to hold the list of reports dbo.[AutoReports] Create a stored procedure to list the reports and their required variables. Pass a parameter to the package from the SQL Agent Job What frequency should this report run on? Daily, Hourly, Morning, etc. Log each package run and record what and to whom it was sent.
9
Thank you Questions: Contact Info: Code will be available on SQL Saturday site.
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.