Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Statement Failures Within TRANSACTIONS

    CREATE TABLE TEST(

    id INT NOT NULL,

    name VARCHAR(50)

    )

    --This would still insert because two inserts are considered different transactions because you

    --explicitly didn't committed it yet!

    BEGIN TRAN

    INSERT INTO TEST(id, name) VALUES(1,'a')

    INSERT INTO...

Viewing post 1 (of 1 total)