Rollback Transaction

  • Hello

    What are the options to rollback if 1. rollback throws an error ?

    2. if the transaction has been committed then?

    Example Scenario:

    Begin Tran

    -rollback

    -commit

    GO

    USE AdventureworksDb;

    GO

    {

    TSQL query here.

    }

     

     

  • This doesn't make sense in how you've written it. Please be more descriptive and format the code so it can be understood. It looks like you intend the commit/rollback to be commented out.

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

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