Solved

I would like to run an SSRS report using T-SQL or similar

Posted on 2014-12-02
3
358 Views
Last Modified: 2014-12-10
I have a web based project and I need to kick off a report in SSRS that returns the report to a given email address  I am hoping to do this as part of a stored procedure sending the email address as a parameter.  Can this be done and how?
0
Comment
Question by:Alyanto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 40475621
I'm not a SSRS specialist but I think that can be done by configure the Report Server for e-mail delivery.
0
 
LVL 4

Accepted Solution

by:
jimtpowers earned 500 total points
ID: 40476142
I have two reports that are scheduled to email particular folks. Go to the web server for your report server. Select the report and go to the management page for the report. Set up a subscription with the recipient's email address(es) and give it the date/time when to process the report. This will create a job on your SQL Server that you'll just leave alone. In my case, I render the reports in Excel format since that is what they are using. You can render to other formats as the need arises.

You will have to configure the SSRS service to be able to send email. Once that is done, subscriptions should take care of the rest.
0
 
LVL 1

Author Closing Comment

by:Alyanto
ID: 40491776
Excelent work
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

624 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