Skip to content

Instantly share code, notes, and snippets.

@kristinaconley
Created May 5, 2016 16:01
Show Gist options
  • Save kristinaconley/d4448457b4b3f155158969c806ba9596 to your computer and use it in GitHub Desktop.
Save kristinaconley/d4448457b4b3f155158969c806ba9596 to your computer and use it in GitHub Desktop.
USE MSDB
GO
SELECT
sj.job_id as JobId,
sj.name as JobName,
sjs.step_name as StepName,
sjs.Command as Command
FROM sysjobs sj
INNER JOIN sysjobsteps sjs
ON(sj.job_id = sjs.job_id)
--WHERE sjs.subsystem = 'SSIS'
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment