just want to write a simple before delete/on delete trigger that inserts the row in another table when the row is delete from one table
create or replace trigger RF_TEST_SHIPTO
before delete on SHIPTO
for each row
if :old.STSTAT <>'P'
insert into TEST_SHIPTO select * from shipto;
Please let me know the syntax and I am getting a mutation everytime I run this one