Post your trigger
here is an example
Code:
CREATE TRIGGER yourTriggerNameHere
ON yourTable
AFTER INSERT
AS
DELETE FROM yourTable
FROM yourTable
INNER JOIN inserted ON inserted.col = yourTable.col AND inserted.[col2] = yourTable.[col2]
WHERE inserted.col3 = 'value' AND yourTable.col3 <> 'value'
Notes:
1.A ROLLBACK in a trigger following a DELETE would also roll back the DELETE. It would (as intended) also rollback the initial insert that caused the trigger.
2.If this is SQL 2000, you could consider using an INSTEAD OF trigger, which, instead of having to delete the row(s) just inserted, could avoid inserting it to begin with.
Jaime E. Maccou