Question

Does anyone know how to trigger the execution of a SSIS 2008 package while running a DTS 2000 package? Actually, my DTS 2000 has to be runned as it is and cannot be converted into a SSIS 2008. SO is it possible to execute maybe a shell command (Dtutil , etc..) to run this SSIS 2008 package?

Thanks for feedbacks

Was it helpful?

Solution

There are two ways I can think of doing this.

  1. Make the DTS execution a step in a SQL Agent job, and start that job by running the stored procedure sp_start_job

  2. Run by executing xp_cmdshell:

    EXEC xp_cmdshell 'dtexec /f "C:\Package.dtsx"'

Option two involves configuring xp_cmdshell to run. xp_cmdshell allows you to issue operating system commands directly to the Windows command shell via T-SQL code - something I'm not entirely comfortable with, so I would go for option 1.

Some helpful links:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top