• This works great! Thanks for posting it! 🙂

    The only thing I had to change was the @SQL variable datatype. I went with varchar(max) because we have a lot of subscriptions. Varchar(2000) is only good for about 17 failed subscriptions and the day I tested this we had about 100 that failed.