disable job

Hello, I am usning sql 2005 enterprise edition,noticed one of the job is disabled.

Is there any way/query where I can see how the job is disabled? which user has done it? when it is disabled?I am not able to check the same in application logs,

Is there any query to identify the same?


more ▼

asked Apr 04, 2011 at 01:01 AM in Default

avatar image

830 89 93 95

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

"Who" - It depends - if you're running internal auditing against the server, you may be able to find out. Otherwise, you'll just have to have words with everyone who has sysadmin rights over the server. Or the job owner if the job is owned by someone other than a member of the sysadmin group.

As for "when" - the modified_date field in msdb.dbo.sysjobs may hold the answer - it's the date when the job was last modified, and enabling/disabling the job does update this field.

more ▼

answered Apr 04, 2011 at 02:09 AM

avatar image

ThomasRushton ♦♦
42.1k 20 57 53

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Apr 04, 2011 at 01:01 AM

Seen: 949 times

Last Updated: Apr 04, 2011 at 01:01 AM

Copyright 2018 Redgate Software. Privacy Policy