what happens when power is gone

  • Hi friends

    I've some piece of code in stored proc that takes couple of minutes to complete.ofcourse all code between transaction.i mean something like

    begin transa

    --big code

    commit trans

     
    i'm wondering what happens if power is gone during the execution on the server??
     
     
  • all uncommitted transactions will be rolled back to keep the database in a consistent state

    cheers

    dbgeezer

  • Thank u very much dbgeezer
    could u suggest a good article/resource on these transaction plz
     
     
  • this seemed ok at a glance ...

    http://databases.about.com/library/weekly/aa031101c.htm

    google is littered with examples on transactions and power failures

     

    cheers

    dbgeezer

  • Thank u very much dbgeezer.I appreciate that

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

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