Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
CREATE PROCEDURE UpdateInventory (@OrderID int, @CartID char (36)) AS DECLARE @Quantity INT SELECT @Quantity = ShoppingCart.Quantity FROM ShoppingCart INNER JOIN Product ON ShoppingCart.ProductID = Product.ProductID WHERE ShoppingCart.CartID = @CartID UPDATE Product SET Inventory = (Inventory - @Quantity) WHERE ShoppingCart.ProductID = Product.ProductID
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.