Create procedure that returns most recent order information

Assignment Help Programming Languages
Reference no: EM1364933

Create a procedure that returns the most recent order information for aparticular basket. This procedure should determine the most recent stage entry from the BB_BASKETSTATUS table and return the data. An IF or CASE clause needs to be used to return the stage description rather than the IDSTAGE number, which means little to the shopper. The IDSTAGE column of the BB_BASKETSTATUS table identifies each stage as follows: 1 = Submitted and received; 2 = Confirmed, processed, sent to shipping; 3 = Shipped; 4 = Cancelled; 5 = Backordered. The procedure needs to accept a basket id number and return the most recent status description and the date that status was recorded. If no status is available for the basket id queried, return a message stating that no status is available. Use a VARCHAR2 host variable to hold the date value returned. Name the procedure STATUS_SP. Test the procedure twice using the basket id of 4 and then 6.

Reference no: EM1364933

Questions Cloud

Components of computer system interact within system : How do the components of your computer system interact within the system? What improvements or additions to your system do you think would benefit you or make the system more user-friendly? Why?
Future demands in the health information technology : Describe the essential knowledge, skills, and abilities that are necessary to meet the current and future demands in the Health Information Technology field.
What force does the water exert on the man : What force does the water exert on the man. explain how far does the tongue reach.
Compute the value of bonus : Suppose you received a $10,000 bonus which you would like to invest for your child's education. Compute the value of the bonus in 10-years if invested in each of the following:
Create procedure that returns most recent order information : Create a procedure that returns the most recent order information for aparticular basket. This procedure should determine the most recent stage entry
Managed care organization and its perspective : What are some of the ramifications of contract termination from a consumer's perspective, a provider's perspective, and a managed care perspective?
Accepting late bids : Should you reach out to potential contractors who haven't submitted bids regardless of the fact that they are late?
Why create a risk management plan : Describe the timeline as well as the economic and other factors involved with these risks - Why Create a Risk Management Plan
Calculating the new finance charge : A Department store has the following credit terms the finance charge. If any is based on the previous balance before payments or credits are deducted.

Reviews

Write a Review

Programming Languages Questions & Answers

  Solve the programming problem

Solve the programming problem

  Write program to read ten numbers-display distinct numbers

Write a program that reads in ten numbers and displays distinct numbers (i.e., if a number appears multiple times, it is displayed only once).

  Determining suitable parameters if pass-by-reference is used

Subprocedures in VBA utilize pass-by-reference. Which function or sub procedure alters its parameter?

  Create derived class by inheriting tthe class

Create a derived class named FancyDateClass by inheriting the DateClass. You will have to provide both the class definition and implementation.

  Design program that asks user to enter budgeted amount

"Design a program that asks the user to enter the amount that he or she has budgeted for a month. (For example: $2,000.00)

  Write program to read the size of side of square

Write a program that reads in the size of the side of a square and then prints a hollow square of that size out of asterisks (i.e., *) and blanks.

  Program read weight of package of breakfast cereal in ounces

Write a program which will read the weight of package of a breakfast cereal in ounces and output weight in metric tons as well as number of boxes

  Explaining handles clause of sub procedure

You are asked to design a form with a textbox named txtQty, a label named lblStatus, and a button named btnGetStatus. What will be Handles clause at the end of sub procedure?

  Ruby program that continuously reads in number

Write down Ruby program that continuously reads in number, x, from screen, and then calculates and displays its: factorial, if x is less than 15.

  Create class templates for administrative employess

Create classes or class templates for the following: Administrative Employess are paid a salary, but they also receive a bonus at regular intervals during the year.

  Write temperature conversion program

You will write a temperature conversion program. GUI and event handling setup must be done in the constructor of the class that implements the GUI.

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd