Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Data Driven Subscription in Standard Edition


Data Driven Subscription in Standard Edition

Author
Message
ldanks
ldanks
Grasshopper
Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)

Group: General Forum Members
Points: 17 Visits: 86
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?
ldanks
ldanks
Grasshopper
Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)

Group: General Forum Members
Points: 17 Visits: 86
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 Sad
Simon E Doubt
Simon E Doubt
Old Hand
Old Hand (301 reputation)Old Hand (301 reputation)Old Hand (301 reputation)Old Hand (301 reputation)Old Hand (301 reputation)Old Hand (301 reputation)Old Hand (301 reputation)Old Hand (301 reputation)

Group: General Forum Members
Points: 301 Visits: 885
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!
ldanks
ldanks
Grasshopper
Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)

Group: General Forum Members
Points: 17 Visits: 86
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 Blush )

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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search