Hi,
Create a stored procedure and put this line after AS,
exec master..xp_cmdshell 'dtsrun /S YourServerName /N YourDTSPackageName /E '
'/U' '/S' must be used instead of E for Username and password credentials instead of trusted connection '/E'
YOu can ruan as amany packages as you want.
Corvin
|