Handy query to search a particular command across all the Jobs.
To search all the jobs which are using mail object , set the @keyword value to “Mail”
To search all the jobs which are using external folders , set the @keyword value to “\”
To search all the jobs which are calling DTS packages , set the @keyword value to “.dts”
declare @keyword varchar(max) set @keyword = '%'+@keyword +'%' |
No comments:
Post a Comment