Create an UPDATE trigger called tr_check_qty on the OrderDetails table to prevent theupdating of orders of products that have units-in-stock less than the quantity ordered. Usethe following query to test your trigger.UPDATE OrderDetailsSET Quantity = 40WHERE OrderID = 10044AND ProductID = 77
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here