Announcements
Hello,
I am trying to clear the Mangament Reporter report queue with the following query.
USE ManagementReporter
DELETE FROM Repository WHERE STATUSTYPE<>'0'
And am getting the following error;
Msg 208, Level 16, State 1, Line 2
Invalid object name 'Repository'
How can I correct this to clear the queue ?
Thank you.
Bob Morris
That takes care of it. Thanks!
Hi Bob,
You can use the queries below to remove reports from the Report Queue:
select * from Reporting.Repository where StatusType in (1, 2, 10, 30, 40)
That will show you any report that has a status of failed (1), canceled (2), queued(10), cancelling(30), or queuing(40).
Depending on the status type you want to remove from the queue, you can use the same statement as before:
delete from Reporting.Repository where StatusType = x
delete Reporting.RepositoryMessage
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156