SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


sql to list all jobs on SSRS web interface ??


sql to list all jobs on SSRS web interface ??

Author
Message
jbalbo
jbalbo
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1493 Visits: 688
Hi

Not sure if I am explaining this correctly.. but...

The web interface for SSRS which we call Report Store has gotten a bit out of hand...
I would like to write an SP to list all the reports that have been deployed, their name, last use (if possible) and path

Any info, tables etc.. would be great

Thanks
Joe
pietlinden
pietlinden
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14193 Visits: 14135
http://stackoverflow.com/questions/1179082/ssrs-tracking-report-usage was interesting and probably will help you.

It mentions that once you determine the reports that nobody uses that you can move them to unclutter your RS instance.
Jack Corbett
  Jack Corbett
SSC-Forever
SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)

Group: General Forum Members
Points: 45125 Visits: 14925
The solution pointed to by Piet is a good starting point. I'd modify it to do something more along these lines:

SELECT
Catalog.Type,
Catalog.Name,
Catalog.Path,
MAX(ExecutionLog.TimeStart) AS lastUsed
FROM
dbo.Catalog
LEFT JOIN dbo.ExecutionLog
ON Catalog.ItemID = ExecutionLog.ReportID
WHERE
Catalog.Type = 2
GROUP BY
Catalog.Type,
Catalog.Name,
Catalog.Path



The LEFT JOIN ensures that you will get all the reports currently with a NULL in the lastUsed column if there is no longer a row in the Execution Log because the last use has aged out of the execution log.



Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming
At best you can say that one job may be more secure than another, but total job security is an illusion. -- Rod at work

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search