Inserting to an error log

  • Define a table variable, then insert the error information into the table variables first. After you issue the rollback, then insert the information from the table variable into your error log table.

    The table variables are not affected by transactions.

  • Of course. I should have thought of that. Thanks.

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

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