eamonskelly
Programmer
How can I create a trigger, so that when I delete a table causes the record to be saved to a new audit-table AND deletes all records associated with that record in another table, passes these records to its own audit-table.
I have got a trigger which works for the main table, but the trigger on the dependent table only puts one of the records into the second audit-table instead of all of them. A cascade delete is occurring in each case, with a one to many relationship between the tables
Thanks
I have got a trigger which works for the main table, but the trigger on the dependent table only puts one of the records into the second audit-table instead of all of them. A cascade delete is occurring in each case, with a one to many relationship between the tables
Thanks