information of deleted job

  • If anyone delete some sql jobs..Is there any way to get information about that.

  • You could prevent it by defining the permissions on specific accounts.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • Hi,

    What information do you want

    1) Who deleted the job

    or

    2) The job scripts

    If you want the job scripts

    You should have the backup of MSDB database. U can restore it and get the job details back.

  • you can get those information from the backup of msdb database. But restore msdb into test environment and get the required information.

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • I need to know who has deleted the job?

  • litu deb (2/23/2010)


    I need to know who has deleted the job?

    Unfortunately i don't think it is possible, Because when some delete job then an entry is also removed form sysjobs table. However if someone drops an object then it is possible to trace user name and object name if you install performance dashboard on your client machine, it will record all schema changes (only DDL changes not DML).

    EnjoY!

    EnjoY!
  • Agreed.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • When you drop the job you use procedure sp_delete_job.

    So you might need to query some of the DMVs when and by whom that proc was used the last time.

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply