Solved

MS SQL Server Reports

Posted on 2014-12-02
2
267 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

821 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