Question: Seeking the step by step programming to this question: Create a compound trigger emp_audit_trigg on the EMPLOYEES table for the following events: when updating the
Seeking the step by step programming to this question:
Create a compound trigger emp_audit_trigg on the EMPLOYEES table for the following events: when updating the salary column of the EMPLOYEES table, enter the value Updating into the action column of the AUDIT_TABLE before the change occurs. Next, once the action is complete, change the action to Update complete; old salary was (old_sal); new salary is (new_sal) where old_sal is the original salary before the UPDATE, and new_sal is the new salary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
