Hi all,
I've got table t1
select 1 as id, 1 as avalue, sysdate as dateinsert, 'marco' as userinsert, null as dateupdate, null as userupdate
from dual
My need is to log sysdate and user for insert (columns dateinsert and userinsert) and for update (columns dateupdate and userupdate).
How do I perform it? My first guess is trigger, could you please give me some example?