I have a Report Services instance that creates hundreds of jobs. The jobs are in serial format (ie. xxxxxx-xxx-xxxxx-xxxx-xxxx) and clutter up the jobs section view in SSMS. Is there any way to hide these jobs?
The quick way to do this is to edit the underlying proc that SSMS uses to fetch the job list to ignore any jobs created by 'Report Server'.
msdb.dbo.sp_help_category
(system stored proc) to bring up the procedures code.@where_clause
from VARCHAR(500)
to VARCHAR(MAX)
EXECUTE
statement, just before this line add the following:-- Ignore Reporting Services Jobs IN SSMS SET @where_clause += N' AND CASE WHEN name = ''Report Server'' AND ( SELECT program_name FROM sys.sysprocesses where spid = @@spid) = ''Microsoft SQL Server Management Studio'' THEN 0 ELSE 1 END = 1 '
For more information refer to the original article from which this answer is based:
http://timlaqua.com/2012/01/hiding-ssrs-schedule-jobs-in-ssms/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With