Forum Discussion
dbo.SubscriptionsHistory table depuration
- Anonymous7 years ago
Looking at the code in the ReportServer DB I can see there's a stored procedure called
[dbo].[AddSubscriptionHistoryEntry]
This seems to add entries but then also deletes all entries except the last ten (the ten is hard coded)
Looking at the data on my servers this seems to be what is happening. So I don't understand how you're seeing more than ten entires on your dev systems.
I'm guessing you could amend the stored proc! :smileysurprised:
Looking at the code in the ReportServer DB I can see there's a stored procedure called
[dbo].[AddSubscriptionHistoryEntry]
This seems to add entries but then also deletes all entries except the last ten (the ten is hard coded)
Looking at the data on my servers this seems to be what is happening. So I don't understand how you're seeing more than ten entires on your dev systems.
I'm guessing you could amend the stored proc! :smileysurprised:
Thank you for your answer!
I'll check the stored procedure in dev. However, I doubt the IT team will let us modify a system stored procedure :(.
Regards!