Trigger an Email of an SSRS Report from an SSIS Package

  • SilentMike

    SSC Eights!

    Points: 815

    Hi Stan

    Really useful article, thanks.

    I have a question around the long term use of this solution. I've done a bit of testing and the subscription still seems to work even if the corresponding SQL Agent job is deleted.

    However, are you aware of any automatic clean up in place within SSRS that would remove old 'one-off' subscriptions?

    cheers

    Mike

  • Stan Kulp-439977

    SSCrazy Eights

    Points: 9948

    SilentMike (7/9/2015)


    Hi Stan

    Really useful article, thanks.

    I have a question around the long term use of this solution. I've done a bit of testing and the subscription still seems to work even if the corresponding SQL Agent job is deleted.

    However, are you aware of any automatic clean up in place within SSRS that would remove old 'one-off' subscriptions?

    cheers

    Mike

    Then only way I know of to remove subscriptions is to delete them manually in the "My Subscriptions" web page.

    I tried to insert the image above, but it's not working. Try pasting this into your browser: http://www.sqlservercentral.com/Images/26588.jpg

  • Jeff Moden

    SSC Guru

    Points: 994868

    Stan Kulp-439977 (7/9/2015)


    SilentMike (7/9/2015)


    Hi Stan

    Really useful article, thanks.

    I have a question around the long term use of this solution. I've done a bit of testing and the subscription still seems to work even if the corresponding SQL Agent job is deleted.

    However, are you aware of any automatic clean up in place within SSRS that would remove old 'one-off' subscriptions?

    cheers

    Mike

    Then only way I know of to remove subscriptions is to delete them manually in the "My Subscriptions" web page.

    I tried to insert the image above, but it's not working. Try pasting this into your browser: https://www.sqlservercentral.com/Images/26588.jpg%5B/quote%5D

    You have to usage the img IFCode to embed images in your post. Like this (quote this post to see the codes)...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
    "If you think its expensive to hire a professional to do the job, wait until you hire an amateur."--Red Adair
    "Change is inevitable... change for the better is not."
    When you put the right degree of spin on it, the number 3|8 is also a glyph that describes the nature of a DBAs job. 😉

    Helpful Links:
    How to post code problems
    Create a Tally Function (fnTally)

  • Matthew Cushing

    SSCrazy

    Points: 2898

    know it's a bit late to the join the party, but I found that if I didn't have single quotes around the Subscription ID you paste into the EXEC command, it won't work.  Drop them in, and I was good to go.  This is such a simple solution!  Thanks for posting it!

Viewing 4 posts - 31 through 34 (of 34 total)

You must be logged in to reply to this topic. Login to reply