I need to create a stored procedure to add a discount to an order. This stored procedure has five input parameters:
OrderID, ProiductID, UnitPrice, Quantity, and DiscountValue.
This stored procedure needs to display all the orders with a discount, including the ones added by the stored procedure.
Any suggestions would be helpful.