dbTalk Databases Forums  

Running a Package from Stored Procedure

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Running a Package from Stored Procedure in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
TomTait747
 
Posts: n/a

Default Running a Package from Stored Procedure - 07-19-2004 , 05:26 PM






I would like to run a package while passing it a variable from a stored procedure. The xp_cmdShell method isn't working because dtsrun is working from the command line. Is there another way?

Reply With Quote
  #2  
Old   
Yash
 
Posts: n/a

Default Running a Package from Stored Procedure - 07-20-2004 , 01:46 AM






Hi,
Go thru this article

http://www.databasejournal.com/featu.../article.php/1
0894_1459181_1

Cheers,
Yash
Quote:
-----Original Message-----
I would like to run a package while passing it a variable
from a stored procedure. The xp_cmdShell method isn't
working because dtsrun is working from the command line.
Is there another way?
Quote:
.


Reply With Quote
  #3  
Old   
Darren Green
 
Posts: n/a

Default Re: Running a Package from Stored Procedure - 07-20-2004 , 02:58 AM



Just to be clear, there is no reason that you cannot use DTSRUN from
xp_cmdshell. The OLE stored procedure method that Yash linked to does offer
potentially more flexibility, but it can be problematic in it's own right.


--
Darren Green
http://www.sqldts.com
"TomTait747" <TomTait747 (AT) discussions (DOT) microsoft.com> wrote

Quote:
I would like to run a package while passing it a variable from a stored
procedure. The xp_cmdShell method isn't working because dtsrun is working
from the command line. Is there another way?




Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.