Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions

Question

Relational Contexts in Organizations

Answered: 1 week ago