Temporary enable and disable SSRS subscriptions


--Code Snippet

--To Check Subscription Status.

USE ReportServer

GO

SELECT dbo.Subscriptions.Description,

       dbo.[Catalog].Name,

       dbo.Users.UserName,

       InactiveFlags

FROM dbo.Subscriptions

     INNER JOIN dbo.[Catalog]

     ON dbo.Subscriptions.Report_OID = dbo.[Catalog].ItemID

     INNER JOIN dbo.Users

     ON dbo.Subscriptions.OwnerID = dbo.Users.UserID



--Temporary disables subscriptions while data warehouse is unavailable



UPDATE dbo.Subscriptions

SET InactiveFlags = 1

GO

--After this you can find, all the subscription where disabled until you again enable it.

--Again enable subscriptions.



UPDATE dbo.Subscriptions

SET InactiveFlags = 0

GO

Comments

  1. Great article,Thank you for sharing this awesome Post.
    Keep updating....

    MSBI Online Training Hyderabad

    ReplyDelete
  2. Great article, Thank you for sharing this valuable info with us.
    Keep updating...

    ReplyDelete
  3. your valuable information and time. Please keep updating.
    Msbi Online Training in India
    Msbi Training

    ReplyDelete
  4. I like reading the above article because it clearly explains everything and is both entertaining and effective. Thank you for your time and consideration, and best of luck with your future articles.

    Data Engineering Services 

    Machine Learning Services

    Data Analytics Solutions

    Data Modernization Solutions

    ReplyDelete
    Replies
    1. Thanks for your valuable feedback and please subscribe my blog for more updates.

      Delete
  5. Thankyou just for writing an exceptionally worthwhile page, Lake developed onto your web page apart from know certain write-up. I will be interested appearance with writing... receive sms codes

    ReplyDelete
    Replies
    1. Thanks for your valuable feedback and please subscribe my blog for more updates.

      Delete

Post a Comment

Hi User,
Thanks for visiting My Blog and please provide your valuable feedback and subscribe for more updates. Please don't post any spam content or comments.
Thank You

Popular Posts

Failed to execute the package or element. Build errors were encountered

Restore of database 'DataBase_Name' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)

Cannot convert "Column" between a unicode and a non-unicode string data types in SSIS