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)
 Run DTS using the Stored Procedure across the network

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-01-11 : 06:54:17
Muhammad Usman writes "I want to run the DTS using the stored Procedure across the network(at different network).I need the complete syntex of the SP?"

MohammedU
Posting Yak Master

145 Posts

Posted - 2007-01-13 : 20:26:02
You can use the xp_cmdshell to execute dts package but I don't understand what do you mean by across network...if across network means from different sql server then you can create linked server to execute the procedure...

exec xp_cmdshell 'dtsrun /SServerName /Uusername /Ppassword /NPackageName'
See BOL for DTSRUN util. details..





MohammedU
Go to Top of Page
   

- Advertisement -