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

pits gravatar image

830 83 91 92

(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

ThomasRushton gravatar image

ThomasRushton ♦
34.2k 18 20 44

(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.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

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: 838 times

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