Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 run DTS

Author  Topic 

fmardani
Constraint Violating Yak Guru

433 Posts

Posted - 2005-11-22 : 09:17:15
hi,
I am creating a stored procedure in sql 2000
in it, I would like to place the command to run a DTS package (called: DTS_test)?
I think it is to do with dts run or something similar??
Thanks

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2005-11-22 : 09:22:35
use xp_cmdshell to execute DTSRUN in your stored procedure

-----------------
[KH]
Go to Top of Page

fmardani
Constraint Violating Yak Guru

433 Posts

Posted - 2005-11-22 : 09:26:14
so is it something like:
xp_cmdshell 'DTSname'

Thanks
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2005-11-22 : 09:35:59
exec master..xp_cmdshell 'DTSRUN <parameters>', NO_OUTPUT


-----------------
[KH]
Go to Top of Page
   

- Advertisement -