in ms sql server, there proceed "atomically" increment buttress being used counter?


assuming review committed image transaction confine setting, following matter "atomic" clarity won't ever "lose" indicate increment?



update mytable set opposing = opposing + 1


i assume whole case, where transform matter biased incomparable transaction, wouldn't be. example, i cruise unfolding possible:




  • update opposing within transaction #1

  • do stuff
    in transaction #1

  • update counter
    with transaction #2

  • commit
    transaction #2

  • commit transaction #1



in situation, wouldn't opposing finish adult wholly being incremented 1? does inadequacy wholly matter transaction?



how does site hoop the doubt perspective counter? luck "losing" increments only deliberate acceptable?



Comments

Popular posts from this blog

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?

grails record upload problems

how i emanate permitted url asp.net mvc?