SQL Stuff

Check All Jobs To See If Enabled

Here’s a quick script you can use to check all Jobs to see whats enabled, or disabled. use msdb;
set nocount on
select
name
, ‘Job State’ = case enabled when ‘1’ then ‘Enabled’ when 2 then ‘Disabled’ end from
sysjobs
order by
name asc

Advertisements

Categories: SQL Stuff

Tagged as: , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s