Solved

MS SQL Server Reports

Posted on 2014-12-02
2
258 Views
Last Modified: 2014-12-03
How can you determine if there are reports for a particular database in MS SQL Server? Can you see what reports have been created for a particular database in SQL Server?
How are SQL Server reports normally created so that an end user has access to them?
0
Comment
Question by:Benki Canoso
  • 2
2 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 40477727
>How can you determine if there are reports for a particular database in MS SQL Server?
You can't.  There is no T-SQL that returns a set to the effect of 'Give me every external file (SSRS .rdl, SSIS .dtsx, etc.) that references this database.', so your options are either to go on a wild goose chase to find these files, or shut the database logins down and see what breaks / who complains.

A way I've tracked this in the past is to write a Stored Procedure as the main data source for a report, and in each sp (which I prefix ssrs_) do an INSERT into a homemade logging table I created.  That way all activity is in a table.

I believe with SSRS 2012 there are tables to monitor report usage.

>How are SQL Server reports normally created so that an end user has access to them?
SSRS reports are created by developers using Visual Studio / SQL Server Data Tools, depending on the version, and then deployed to an SSRS server for users.
0
 
LVL 65

Expert Comment

by:Jim Horn
ID: 40478350
Thanks for the grade.  Good luck with your project.  -Jim
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now