Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

reporting services launch subscription on demand

Posted on 2006-10-31
2
Medium Priority
?
642 Views
Last Modified: 2008-02-01
Hi all

I want to launch on demand from SQL Server 2005 within a sproc a data driven subscription created in Reporting Services 2005.

Is the best way to do this to create the data driven subscription as usual then just execute the job within the sproc, or is there a better and cleverer way?

Could be an easy 500 points up for grabs!

Thanks

David
0
Comment
Question by:DavidGreenfield
2 Comments
 
LVL 11

Accepted Solution

by:
regbes earned 1500 total points
ID: 17842073
Hi DavidGreenfield,

Try take the command text drom the agent job and run it from within your SP with xp_cmdshell or exec or sp_execsql

HTH

R.
0
 

Author Comment

by:DavidGreenfield
ID: 17842210
Yeah that's what I thought might be the only way to do it, I shall give that a go now!
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how the fundamental information of how to create a table.

783 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