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
Solved

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

Posted on 2014-12-02
3
341 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
3 Comments
 
LVL 48

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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

840 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