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)
 Execute DTSRUN utility from SQL?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-05-29 : 00:02:43
Michael writes "I'm trying to execute the dtsrun utility (to execute a saved DTS package) within a stored procedure to make it easier for the user to run DTS packages. I believe that I can use dtsrun either at the command prompt or in a batch file, so I'm hoping I can use it in SQL. I use:
dtsrun /Smyserver /Uuser1 /Ppw1 /NDTSProcess1

I'm getting "incorrect syntax near '/'". Has anyone done this successfully?

Thanks for the advice."
   

- Advertisement -