sync
This commit is contained in:
@@ -65,7 +65,8 @@ DECLARE @job_id UNIQUEIDENTIFIER = NULL,
|
||||
SELECT sj.job_id,sj.name, sj.[enabled], sj.[description], sj.start_step_id, sj.category_id, sj.owner_sid, sj.notify_level_eventlog, sj.notify_level_email, sj.notify_level_netsend, sj.notify_level_page, sj.notify_email_operator_id, sj.notify_netsend_operator_id, sj.notify_page_operator_id, sj.delete_level
|
||||
FROM msdb.dbo.sysjobs sj
|
||||
JOIN msdb.dbo.[syscategories] sc ON sc.[category_id] = sj.[category_id]
|
||||
WHERE LOWER(sj.name) NOT LIKE '%distribution%'
|
||||
WHERE 1=1
|
||||
AND LOWER(sj.name) NOT LIKE '%distribution%'
|
||||
AND LOWER(sj.name) NOT LIKE '%subscription%'
|
||||
AND LOWER(sj.name) NOT LIKE '%replication%'
|
||||
AND LOWER(sj.name) NOT LIKE '%ActivePos_read-%'
|
||||
|
||||
Reference in New Issue
Block a user