Run Multiple SQL jobs

  • How can i run a sql job inside a sql job.

    I have a 2 jobs where it alters a same huge table, i want to shedule both as i cudnt predict time when a job will be finished how can i start a 2nd job after finising the 1st one. since they are altering same table and if i shedule job what if both jobs starts altering same table at the same time.

  • Invoke the second job on completion of first job by calling it under second step by making use of sp_start_job stored procedure.

    http://technet.microsoft.com/en-us/library/ms186757(SQL.90).aspx

    HTH,

    MJ

Viewing 2 posts - 1 through 1 (of 1 total)

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