I am creating a table of appointments. As this table is going to get
very large very quickly, I want to move the old appointments into a
backup table, backupAppointme nts. How do I do this using a trigger? I
have got this so far:
create or replace trigger cleanAppointmen ts
after insert on appointments
when apoointments.da te < SYSDATE
Begin
-- move the records
End;
Any help would be greatly appriciated.
very large very quickly, I want to move the old appointments into a
backup table, backupAppointme nts. How do I do this using a trigger? I
have got this so far:
create or replace trigger cleanAppointmen ts
after insert on appointments
when apoointments.da te < SYSDATE
Begin
-- move the records
End;
Any help would be greatly appriciated.
Comment