Name: Joseph Ascione Date: 4/10/2018: MET CS 669 Database Design and Implementation For Business Lab 4 Submission
Name: Joseph Ascione Date: 4/10/2018: MET CS 669 Database Design and Implementation For Business Lab 4 Submission
Lab 4 Submission
Date: 4/10/2018
Page 1 of 21
Page 2 of 21
5. Stored procedure execution
Page 3 of 21
7. Stored procedure execution failure
Page 4 of 21
10. Stored procedure execution verification
Page 5 of 21
11. Fourth argument stored procedure creation
Page 6 of 21
12. Fourth argument stored procedure execution
Page 7 of 21
13. Stored procedure execution verification
Page 8 of 21
14. Deletion stored procedure creation and execution
Page 9 of 21
Page 10 of 21
Section Two – Triggers
Page 11 of 21
17. Trigger verification
Page 12 of 21
18. Last name trigger creation
Page 13 of 21
19. Illegal insertion
Page 14 of 21
20. ERD creation with Item_price_history included
Page 15 of 21
21. Item trigger creation
The first image shows that the price history table is empty. The two following images
show the difference between updating a row that does not exist in the history table and
one that does. The difference in affected rows indicates that if no rows are returned
from the update then the insert statement fires. The final image shows the updated
tables.
Page 16 of 21
Page 17 of 21
Page 18 of 21
Page 19 of 21
Use the Ask your Facilitator Discussion Board if you have any questions
regarding the how to approach this assignment.
For help uploading files please refer to the Technical Support page in the syllabus.
Page 20 of 21
Your lab submission will be evaluated according to the following rubric.
Page 21 of 21