Question: Create stored procedure which calls a function within using the steps below: Create stored procedure get_Amount() with 3 input parameters - CustomerID, OrderNumber and ProductNumber.
Create stored procedure which calls a function within using the steps below:
- Create stored procedure get_Amount() with 3 input parameters - CustomerID, OrderNumber and ProductNumber.
- Use the following tables [customers, order and order_details tables] to create the select statement for the procedure to get the quoted price and quantity ordered.
- Create function called 'MUL' inside the stored procedure to give the final output called 'Amount' = QuotedPrice*QuantityOrdered
- Show the final output for
get_Amount(1026,22,1)
Step by Step Solution
There are 3 Steps involved in it
Heres how you can create the stored procedure getAm... View full answer
Get step-by-step solutions from verified subject matter experts
