SQL Job getting stuck at one step

  • Hi There,

    I have a SQL job with 16 steps but it is getting stuck at step 9. All that step 9 does is delete/insert around 2000 records. it usually takes under a minute to finish. And job failure is intermittent for eg : Sunday it fails and Monday to Saturday it runs fine then Sunday and Monday fails again. I don't see any blocks on the database when it is hung. And nothing has changed recently on the Server that I am aware of.

    So I am not sure how to investigate this?

    thanks in adavance

    cheers

  • What do you see in the job history details for step 9 ?

  • I agree - check the job history detail for that step. SQL server is actually pretty good at putting useful messaging in there.

    Gonna go out on a limb here, but I'd bet on bad data on days it fails - inserting a string that's too long or a date that won't convert, or something along those lines.

  • thank you all.

    History did not give enough informatiom but Indepth did show bit more about performace of the SP. And development tema is looking at it now.

    Thanks again

Viewing 4 posts - 1 through 3 (of 3 total)

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