Multi thereading

  • I have 2 jobs which inserts into the same table, what happens if i start both jobs concurrently for inserting records hoping that they finish faster, is there a chance to occur deadlock?

  • Deadlocks are caused by unresolvable resource conflicts. Two jobs inserting into the same table usually won't cause one. SQL Server can usually handle it with locks.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

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

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