• John Mitchell-245523 (6/8/2012)


    IgorMi (6/8/2012)


    Try with XACT_ABORT = OFF and you'll see the same results as it is ON. In this case XACT_ABORT does not have impact of the inserted rows. However on the messages, yes it has.

    IgorMi

    True again, but you did not create a unique constraint, so there is nothing to fail. Therefore four rows are returned whether the setting is ON or OFF.

    John

    Hi

    I missed it intentionally. I just tried with IGNORE_DUP_KEY=OFF and the result is same.

    IgorMi

    Igor Micev,My blog: www.igormicev.com