Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Data Driven Subscription in Standard Edition Expand / Collapse
Author
Message
Posted Friday, April 4, 2014 2:44 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, July 25, 2014 8:18 AM
Points: 6, Visits: 38
Hi Folks

My new workplace doesn't have the enterprise edition of sql server and now all of my data driven subscription reports are useless. I've done a little searching on the web to see if somebody has been able to replicate the data driven scheduling of reports, passing a data driven parameter to a report with matching email, but nothing I've tried comes even close to working.

As an example of what I need...

The main report lists various things related to person id, with data driven subs I'd set this main report up with a person id parameter and parse the parameter in from a sql query which also included that persons email. Embed report into the email as mhtml or similar. Though if it makes life any easier, the main report already has the persons email addy.

Does anyone have any ideas?
Post #1558658
Posted Friday, April 4, 2014 2:52 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, July 25, 2014 8:18 AM
Points: 6, Visits: 38
I did read through this..

http://www.sqlservercentral.com/scripts/Miscellaneous/31733/

but I can't work out how I would loop through the list of people requiring emails and parse the parameters and emails from my sql query
Post #1558660
Posted Friday, April 4, 2014 3:19 PM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, July 21, 2014 7:42 AM
Points: 292, Visits: 757
Have you thought of using SSIS and the RS scripting utility?
I developed a solution using that technique to render PDF versions of a specific report once per month.
Do some Googling for Rs.exe or Rs Utility and you'll find the scripting language is quite powerful.
Should be able to accommodate what you need.
Good luck!
Post #1558666
Posted Monday, April 7, 2014 10:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, July 25, 2014 8:18 AM
Points: 6, Visits: 38
Simon E Doubt (4/4/2014)
Have you thought of using SSIS and the RS scripting utility?
I developed a solution using that technique to render PDF versions of a specific report once per month.
Do some Googling for Rs.exe or Rs Utility and you'll find the scripting language is quite powerful.
Should be able to accommodate what you need.
Good luck!


Thanks Simon - probably a good idea, but learning how to script the job would probably take me longer than working out how a piece of sql would work (and that is bad enough )

I managed to get it working ONCE with the code here
http://geoffbi.blogspot.co.uk/2012/04/data-driven-subcriptions-in-standard.html?showComment=1396888799120#c3719242422302777693

but have since hit sharepoint OSWS timer errors and it hasn't sent emails since
Post #1559188
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse