This document provides an example of triggers. It describes creating a trigger called ACT_EMP that runs on the HR schema. The trigger fires after any update of salary on the EMPLOYEES table, inserts a row into the AUX_EMPLOYEES table with the employee ID, old salary, new salary and current date for each row updated, and outputs the old and new salaries.
This document provides an example of triggers. It describes creating a trigger called ACT_EMP that runs on the HR schema. The trigger fires after any update of salary on the EMPLOYEES table, inserts a row into the AUX_EMPLOYEES table with the employee ID, old salary, new salary and current date for each row updated, and outputs the old and new salaries.
This document provides an example of triggers. It describes creating a trigger called ACT_EMP that runs on the HR schema. The trigger fires after any update of salary on the EMPLOYEES table, inserts a row into the AUX_EMPLOYEES table with the employee ID, old salary, new salary and current date for each row updated, and outputs the old and new salaries.