I am trying to create a trigger to copy an entire row to the audit table of any UPDATE.
I have 2 tables
Frequencies and Frequencies_Audit
This is my trigger.
create trigger auditlog before update on frequencies for each row insert into frequencies_audit select frequencies.*;
When I update a record, I get an Unknown Frequencies table.
I do not want to enter each field name separately if possible, since we are constantly adding columns to the database.
source share