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.
| 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 2000in 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] |
 |
|
|
fmardani
Constraint Violating Yak Guru
433 Posts |
Posted - 2005-11-22 : 09:26:14
|
| so is it something like:xp_cmdshell 'DTSname'Thanks |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2005-11-22 : 09:35:59
|
| exec master..xp_cmdshell 'DTSRUN <parameters>', NO_OUTPUT-----------------[KH] |
 |
|
|
|
|
|