Sorry for my ignorance buy i'm relatively new to triggers. I want to create what I believe is a simple trigger.
I have a table called ACCOUNTS with the following fields ACCNT, BSORT, BACCOUNT, BNAME, USER.
I have another table called BANKCHGS.
What i'm trying to achieve is when the application changes any of the fields in ACCOUNTS before it adds the new details it triggers an inserts of a new row with the old details such as;
ID (sequential no.), ACCNT, BSORT, BACCOUNT, BNAME, USER & date when changed.
Any assistance appreciated.
I have a table called ACCOUNTS with the following fields ACCNT, BSORT, BACCOUNT, BNAME, USER.
I have another table called BANKCHGS.
What i'm trying to achieve is when the application changes any of the fields in ACCOUNTS before it adds the new details it triggers an inserts of a new row with the old details such as;
ID (sequential no.), ACCNT, BSORT, BACCOUNT, BNAME, USER & date when changed.
Any assistance appreciated.