I have a table temp_table with the following columns Id number, name varchar, Password varchar, pwd_change_date timestamp
I want to capture the timestamp in pwd_change_date column only when password column is changed. So basically i want to use update statement inside the trigger to update timestamp value in pwd_change_date column for the same record.
Example When a password is changed for one user, I want to capture the timestamp value in pwd_change_date for the same record.
I tried with before insert and after insert of password on temp_table, but getting mutation error. Is it allowed in Oracle to update the Same row/table on which trigger is fired?