Can I see which stored procedures are used in SSRS - reporting-services

Is there any way to see the tables and stored procedures used in SSRS Report.
Thanks

There not an easy way that I know of. As far as I know, you would need to check the Dataset of the report and check the query tab for the SQL query of the stored procedure.
If you want to check the code, the query is in the XML < CommandText> tag.

This if you don't have access to the project:
If the report is deployed, go to Report Manager Site download the RDL file of the report and open it in visual studio. Open datasets and you can visualize the actual queries.

Related

SSRS reports based on Getdate() function

I developed a report using the getdaye() function in the query. The report runs fine on SQL management Studio.
I created a report using the SQL server data tool and the report is based on the query that I wrote in SQL studio. I have established a connection using the data source and am able to connect to the SQL database. When I run the report using the tool after a couple of days the report data is different from the data that I get when I run the query using SQL management studio. Obviously the Getdate() is not fetching the right date.
The report data maches only when I copy and paste the query in the SQL server data tool and then run the report.
Am I doing anything wrong or should I use create a parameter for the date and direct the default values = Now() on the sql server data tool.
Is there any other work around for this.
Hem
I guess that did not publish the report to a Report Server but repeat to preview the result in Visual Studio (SSDT). SSDT caches data to improve the experience in SSDT and retrieves data from the database only when needed. "Needed" means that you either change the query or choose different parameters. You could of course pass a parameter to the database server, but if you don't want that, you will have to clear the cache from time to time. Look into the folder where the report is saved and delete the *.data file with the same name as the report. You can make this task very easy by adding a menu command to the tools menu as described here.

SSRS - How to see query inside Shared datasets

I have a SSRS report deployed ina a server. I have to see how the report is collecting data. The datasets and datasources are shared in this case. How do i have to check the query in the shared datasets?
I'm able to locate the shared data source and dataset location in report server but have no options to see what is inside that. Please help
There are two ways i can think of achieving this, First is to Edit in report builder from the drop down, the second is to download and then add it to a projects and open it up there.

SSRS logging a copy of every report run

Does anyone know if it is possible to have SSRS log a PDF of every report run? I'd like to store the output (preferrably a PDF) somewhere of every report. I need to store what was visually presented to them, not just the parameters that were passed in.
Can SSRS do this out of the box somehow? If it can't, I'll have to log a copy via code on each call we make to the server, which I'm worried will slow down our application. Our reports are run from front-end code calling into SSRS, if that matters.
Thanks in advance for any help!
I don't think its possible out of box. Its a very unique requirement.
Possible solution is to create a report which will be using ReportServer.dbo.ExecutionLog table to generate report of execution. Once your report is ready you can configure it to generate PDFs. You can refer to http://blogs.wrox.com/article/creating-a-report-server-usage-report-with-sql-server-reporting-services/ for creating such report.

SSRS : Need to run SSRS reports on sharepoint site using SSIS

I have created few SSRS reports in SQL server 2012 with Visual Studio 2010 version.
And I have deployed them to one SharePoint Site.
I want to make this automated, so that data available in the reports are up to date.
So, now I would like to create SSIS package which will run periodically to get up to date data using integration services. I am very much new to SSIS. I have tried to look at different sites for this, but I am not getting an exact idea from where to start.
Can anyone please guide me on this? How can I create a WSDL file URL for the SharePoint report? Do I really need it if report is already made in SSRS or do I just want to run that?
Thank you.
Would SSRS caching solve your problem?
Otherwise, there's nothing SSIS specific to solving your problem. You will simply need to use the .NET library to visit the page with the appropriate parameters. Visit your report page and copy the full URL.
Inside a Script Task use that URL as part of the WebClient. You'll probably need to supply credentials with this. No need to deal with storing the output, you'll simply want to validate that you get a 200 message code
Can you clarify what you are trying to achieve? Do you want to automate the running of the Reporting Services reports? In that case you should look at Report Subscriptions.

How to dynamically embed pdf file to crystal report?

Is there a way to do a dynamic ole insert of a pdf file into a crystal
report based on a value coming from a SQL database?
For example, I have an application in .net, back-ended by a SQL 2008 database.
The app. has a reporting subsystem which uses Crystal Reports to allow
users to run pre-written reports (from stored procedures) by entering
various inputs such as date ranges, etc.
What I want to do is allow the user to enter, say, an account number
which will then be passed to a stored procedure. The procedure will
get the path to the correct PDF file and pass that to a Crystal
Report. How do I get the PDF path to the OLE Object insert??
Is this making any sense??
Thanks for any help in advance.
do you have to use pdf? the idea of adding a pdf to a crystal report makes me feel dirty all over... If possible I would use rpt files as subreports. (note the reason it makes me pale quite so much is that I come from a *nix background and still think pdf should only be used for printing)