Hello ,<br>I'm using Microsoft sql 7.0.<br>I have a trigger on a table which contains code to insert data into a second table. If this insert fails (for eg. due to a referential integrity violation), it raises an error and the trigger terminates without executing the remaining statements (where i check for the status of this insert using @@error and @@rowcount and do corrective measures).<br><br>How can all the statements in a trigger be executed regardless of the failure of one update statement so that i can have cleanup/error handling actions performed ?<br><br>I've put all statements in the trigger inside a transaction.<br>Can anyone please help?<br>Thanks in advance,<br>Boby.