Using AdventureWorks2017 For the following question, I have completed steps one and two. However, I have been
Question:
Using AdventureWorks2017
For the following question, I have completed steps one and two. However, I have been unable to create a trigger without errors for the Assignment listed above.
Part 1:
Automating business procedures and automatically maintaining data integrity and consistency are critical in modern business environment. One of the most critical business procedures is proper inventory management. For example, you want to make sure that your current inventory has enough product availability that can support your product sales. Another example is to ensure that your product order is written to the supplier whenever the products inventory count drops below a certain number.
Run the attached script "Products.txt" in your AdventureWorks database then create a Trigger that address the following business logic:
Automatically evaluate the Products Quality On Hand value. If the value of the Products Quality On Hand is below the minimum quantity of that product, then update the Product Reorder value to 1 which means Yes to order more from the supplier.
Submit a Word document (with screenshots) that captures the following:
1. The successful creation of the Products table
(HERE IS THE PRODUCTS.TXT)
2. Data from the Products table. Hint: Run a SELECT statement
3. The successful creation and testing of the trigger
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill