Okay, I discovered what the SQL Profiler is all about. For execution of an
internal SSIS package I used:
[ Exec msdb.dbo.sp_dts_getpackage
N'NewPkg','00000000-0000-0000-0000-000000000000' ] but for some reason this
does not work.
I created a job and used the profiler to check the t-sql syntax. This is
what I came up with:
[ EXEC msdb.dbo.sp_start_job @job_name=N'packagename' ] this works fine.
And my original t-sql statement:
[ Exec Master..xp_cmdshell 'dtexec /f c:\data\packagename.dtsx' ] works as
well.
So I am quite happy with the help I received on this site. It was my first
post and I can say it was a great experience.
Thanks again to Darren and Imran.
>> Stay informed about: Execute SSIS Package