Question: utlize the travel anywhere database to create a database trigger hotel_kids_rule to enforce a business rule. when inserting a hotel_reservation, if the num_kids value is

utlize the travel anywhere database to create a database trigger "hotel_kids_rule" to enforce a business rule. when inserting a hotel_reservation, if the num_kids value is more than zero, then assign the bed_type DQ to the reservation. save the trigger source as a sript file.

For example, the following update statement will generate a new purchase order. update product set quantity_in_stock = 5 where product_id = 10012;

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!