Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In the ungraded lab, you completed a series of tasks in which you helped Lucky Shrub to implement triggers. This was done to impose some
In the ungraded lab, you completed a series of tasks in which you helped Lucky Shrub to implement triggers. This was done to impose some business rules. Now it's time to review your understanding of the tasks you completed by answering the questions that follow. A screenshot of the Products table is included for your reference. 1. In the first task, you helped Lucky Shrub to implement a trigger that checks if the SellPrice of the product is less than the BuyPrice after a new product is inserted. Which type of trigger did you create to complete this task? AFTER INSERT BEFORE INSERT Correct Correct! You implemented an AFTER INSERT trigger to check if the SellPrice of the product is less than the BuyPrice after a new product is inserted. 2. In the second task, you implemented an AFTER UPDATE trigger to ensure that a product is not updated with a SellPrice that is less than or equal to the BuyPrice. Which keyword did you use to access the SellPrice value after the update operation? AS Incorrect
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started