• Of course, one place this behaviour comes in useful is if you want to store the values from an output clause when rolling back a transaction. Just store them in a table variable first so they don't get lost when the transaction is rolled back.

    Have a look here at Martin Bell's explanation, which I found useful.

    Duncan