Question: Write a row-level PL/SQL triggers 8. (20 points) Write a row-level PL/SQL trigger. The purpose of the trigger is to provide a warning when a
8. (20 points) Write a row-level PL/SQL trigger. The purpose of the trigger is to provide a warning when a guide is assigned to lead an outing for which the guide is not qualified. The trigger should meet the following requirements a. The trigger should be named QUAL GUIDE TRG. b. The trigger should run only after inserting a new row in the OUTING table or updating the GEmpNum attribute in the OUTING table The outing being inserted or updated is associated with a specific tour. Determine if the guide is qualified for that tour if the guide is not qualified for the tour related to this outing, output a warning message d. that the guide is not qualified (eg. Warning: Unqualified guide assigned to outing.")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
