Question: Q 2 . ( 2 5 points ) Row level Trigger. This question requires to create a row level trigger named Emply _ Row on
Q points Row level Trigger.
This question requires to create a row level trigger named EmplyRow on table Employees.
First, you will create a table called Emplylog to store the records from this trigger. Whenever there is a command of Update on the table employees, the trigger will be fired, and add one record into the table Emplylog for each record changed.
Below are the codes for creating a new log table called EmplylogThe second step requires you to create a row level trigger named EmplyRow on table Employees. Whenever there is a command of update on the table employees, the trigger will be fired, and it will add one record into the table Emplylog for each record updated.
After having successfully compiled the trigger, your program will run two update commands as step threeIn the fourth step, you should check the contents of Emplylog table. Copy the output of these new records in the log table to your submission.
Remember to rollback after you get the display of the results: Rollback;
DROP TRIGGER EmplyRow;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
