Transaction control procedure
Transaction control***
Create a stored procedure with the following requirements:
Accept input that identifies the customer, the ISBN for one book, and the quantity being ordered. CHALLENGE — try this for two books instead of one
Create an ORDER record that reflects today’s date as the OrderDate.
Create an OrderItem record for the book(s) being ordered, reduce the (quantity on hand) appropriately for the ordered book, and either:
Return an error message if there is not sufficient inventory for the book ordered.
OR
Commit the transaction
Leave the shipping information null (there will be a separate process for shipping information).
Remember that the Order# is a unique, sequential key.
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | topic title | discipline | academic level | pages | delivered |
---|---|---|---|---|---|
6
|
Writer's choice
|
Business
|
University
|
2
|
1 hour 32 min
|
7
|
Wise Approach to
|
Philosophy
|
College
|
2
|
2 hours 19 min
|
8
|
1980's and 1990
|
History
|
College
|
3
|
2 hours 20 min
|
9
|
pick the best topic
|
Finance
|
School
|
2
|
2 hours 27 min
|
10
|
finance for leisure
|
Finance
|
University
|
12
|
2 hours 36 min
|