xact_abort on

  • If you run updtes in batches and use

    set xact_abort on -- rollback and bail on error set implicit_transactions off -- ensure we're running under the default (autocommit) mode

    say for some reason you have to kill the update, will it try to rollback all the batches or just the last batch? Coz it will take a long time if it tries to rollback all the batches.

    Thanks!

  • It will rollback last batch only.

    [font="Verdana"]--www.sqlvillage.com[/size][/font]

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

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