MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 7th, 2012, 12:13 AM
narrokk narrokk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 31 narrokk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 42 sec
Reputation Power: 1
Talking How to execute a DTS in a stored procedure?

I have this crystal report which runs on a stored procedure,

I would like to make the crystal report run a DTS also, because that DTS is needed to refresh the data of the crystal report.

BTW. the DTS has 7 stored procedures which parameters are the year the user would like to process

so to give you a look at my problem, this is an example of how the DTS looks like.

a 2012
b 2012
c 2012
d 2012
e 2012
f 2012
g 2012

--those stored procedures does different things btw... so dont ask why i did that

then in my stored procedure, i have created a table which would get data from these 7 stored procedure

let's name the table "H"

H has data coming from a,b,c,d,e,f,g

could there be a way to run the DTS package? as i have googled, i learned about sp_start_job, but this stored procedure uses msdb as its database, how could i link it to another database? any wonderful ideas are highly appreciated

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > How to execute a DTS in a stored procedure?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap