I was wondering if there was anyway to search all of the jobs for a table name (or any text for that matter).
something similar to searching DTS via:
and searching Sprocs and views
something similar to searching DTS via:
and searching Sprocs and views
Code:
SELECT Distinct SO.Name, SO.Type
FROM sysobjects SO (NOLOCK)
INNER JOIN syscomments SC (NOLOCK) on SO.Id = SC.ID
AND SO.Type IN ( 'P', 'V' ) --search sprocs and views
AND SC.Text LIKE '%your_text_here%'
ORDER BY SO.Name