March 18, 2010 at 12:03 pm
Hi,
I am in the process of getting all the SSIS packages, which are active i.e they are called by jobs or exes. I don't see any sys procedures/tables for this. I don't think so, we have log for all the SSIS packages. I do get list of all the SSIS packages from sysdtspackages90, but I want the only ones, which are executed.
Thanks,
VG
March 18, 2010 at 12:33 pm
Take a look at:
SELECT j.name,
js.step_id,
js.step_name,
js.command
FROM msdb.dbo.sysjobs j,
msdb.dbo.sysjobsteps js
WHERE j.job_id = js.job_id
AND js.subsystem = 'SSIS'
CEWII
March 18, 2010 at 4:26 pm
Wow, just perfect for me...just added more where condition to this...
SELECT j.name,
js.step_id,
js.step_name,
js.command
FROM msdb.dbo.sysjobs j,
msdb.dbo.sysjobsteps js
WHERE j.job_id = js.job_id
--just added this get ssis packages called from command line
AND (js.subsystem = 'SSIS' or command like '%dtexec%') and j.enabled = 1
Thank you very much!!!
VG
March 18, 2010 at 4:58 pm
Great, glad to be of assistance.
CEWII
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply