You can run DTS package from the client PC by these ways.
- Run DTSRUN.exe (It is provided as DTS utility.)
- Call the method in DTS object
- Call stored procedure (Stored procedure is necessary to be prepared in server side.)
Run DTS by xp_CmdShell
- Create the command file (.bat or .vbs and so on) to execute DTSRUN
- Create the stored procedure to call xp_CmdShell to execute the command file which is created in step1
- Call the stored procedure
Run DTS by SQLServer Agent
- Create SQLServer Agent job to run DTSRUN
- Create the stored procedure to call sp_start_job
- Call the stored procedure
CREATE PROCEDURE [ExecuteDTS_TestPackage] AS EXECUTE msdb..sp_start_job @job_name = 'TestPackage' GO