dbTalk Databases Forums  

Running a DTS package From a Stored Proc

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


Discuss Running a DTS package From a Stored Proc in the microsoft.public.sqlserver.dts forum.



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

Default Running a DTS package From a Stored Proc - 04-15-2004 , 07:02 AM






Hi,

I've created a DTS which pulls off an XML doc from a url, stores some of
the values into dts global variables and then runs a query based upon
these values.

I now need to run this DTS from a stored procedure, but I need to pass a
value to the DTS to be used as a DTS global variable.

Is this possible?? and if so can someone please tell me how to do it.

At present I use DTSRUN in a stored proc, but I don't think you can pass
a parameter using this command

M3ckon

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Running a DTS package From a Stored Proc - 04-15-2004 , 07:22 AM






You can using v2000 os DTS. Look at the /A switch

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"m3ckon" <anonymous (AT) devdex (DOT) com> wrote

Quote:
Hi,

I've created a DTS which pulls off an XML doc from a url, stores some of
the values into dts global variables and then runs a query based upon
these values.

I now need to run this DTS from a stored procedure, but I need to pass a
value to the DTS to be used as a DTS global variable.

Is this possible?? and if so can someone please tell me how to do it.

At present I use DTSRUN in a stored proc, but I don't think you can pass
a parameter using this command

M3ckon

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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.