Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Yak Posting Veteran
SQLAgent - TSQL JobStep (Job 0x342E6E3096634D47B0C2308A83DF70B2 : Step 3)
select * from msdb.dbo.sysjobs
Aged Yak Warrior
Select * from msdb.dbo.sysjobhistory
select top 100 * from sysjobhistory order by run_date desc;
SELECT j.name, s.step_id
FROM sysjobs j
JOIN sysjobsteps s
On s.job_id = j.job_id
WHERE command like '%backup%';