How can I create a SQL Server trigger to insert a record when the status changes to 'FAIL'