Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2002
    Location
    Shanghai , China
    Posts
    63

    Unanswered: how to delete a job

    How to delete a job by using SQL Query analyzer?
    Oracle is an ocean . I am just a little fish

  2. #2
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    110

    Re: how to delete a job

    Have a look in these tables in your msdb database:

    sysjobs,
    sysdbmaintplan_jobs,
    sysjobschedules,
    sysjobhistory,
    sysjobservers,
    systaskids,
    sysjobsteps

    Keep in mind that I haven't tested this solution. Is there no way you can delete the job through enterprise manager?

  3. #3
    Join Date
    Jan 2003
    Location
    India
    Posts
    523

    Re: how to delete a job

    Originally posted by bmalar
    Have a look in these tables in your msdb database:

    sysjobs,
    sysdbmaintplan_jobs,
    sysjobschedules,
    sysjobhistory,
    sysjobservers,
    systaskids,
    sysjobsteps

    Keep in mind that I haven't tested this solution. Is there no way you can delete the job through enterprise manager?
    use SP_DELETE_JOB
    for details search in BOL.

  4. #4
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    110

    Re: how to delete a job

    Originally posted by harshal_in
    use SP_DELETE_JOB
    for details search in BOL.

    A much better solution.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •