Hi,
I am trying to write a before update trigger , which should before updating the current table should take all the old values and insert it into an audit table.
I wrote this but its giving compilation error please let me know where I am going wrong.
create or replace trigger tbl_update
before update on tbl_update
for each row
begin
insert into TBL_update_AUDIT(a,b,c)
values
old.a,
ld.b,'u');
end;
Kindly advice.
Thanks
I am trying to write a before update trigger , which should before updating the current table should take all the old values and insert it into an audit table.
I wrote this but its giving compilation error please let me know where I am going wrong.
create or replace trigger tbl_update
before update on tbl_update
for each row
begin
insert into TBL_update_AUDIT(a,b,c)
values
end;
Kindly advice.
Thanks