Question: Q 2 . ( 2 5 points ) Row level Trigger. This question requires to create a row level trigger named Emply _ Row on

Q2.(25 points) Row level Trigger.
This question requires to create a row level trigger named Emply_Row on table Employees.
First, you will create a table called Emply_log 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 Emply_log for each record changed.
Below are the codes for creating a new log table called Emply_logThe second step requires you to create a row level trigger named Emply_Row 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 Emply_log for each record updated.
After having successfully compiled the trigger, your program will run two update commands (as step three).In the fourth step, you should check the contents of Emply_log 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 Emply_Row;
 Q2.(25 points) Row level Trigger. This question requires to create a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!