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
 Import/Export (DTS) and Replication (2000)
 can we run a SQL JOB frm CMD like DTS using DTSRUN

Author  Topic 

ashley.sql
Constraint Violating Yak Guru

299 Posts

Posted - 2007-08-08 : 16:11:38
I can run a DTS job from a batchfile by using this in CMD

dtsrun /Sserver_name /Uuser_name /Ppassword /NDTS_PACKAGE_NAME

Ashley Rhodes

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-08-08 : 16:47:24
You can run msdb..sp_start_job with osql.
Go to Top of Page
   

- Advertisement -