• Please alter your script with following & let us know the result.

    --IF @@ROWCOUNT = 2

    IF 1 = 1