Develop procedure to returns recent order information

Assignment Help Programming Languages
Reference no: EM1367559

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: EM1367559

Questions Cloud

Asymmetric information exchange : In the value process, the estimation of the has historically been somewhat neglected in relation to the other steps in the process.
Describe return to an investment in a college education : Describe return to an investment in a college education. How would you go about measuring it. How would you decide it is good enough to warrant investment.
Pediatric nurses information on cardiac defects : By using the topic of teaching a core group of pediatric nurses information on cardiac defects and the care of post op cardiac patient, write down a goal statement, and develop and related objective staircase by using cognitive
What is the pucks speed as it goes over the top : A puck slides along the frictionless track shown in the figure with an initial speed of 7.40. Suppose the puck turns all corners smoothly, with no loss of speed.
Develop procedure to returns recent order information : Develop a procedure that returns the most recent order information for aparticular basket. This procedure must determine most recent stage entry from the BB_BASKETSTATUS table
Illustrate how increase in human capital affects production : Illustrate how increase in human capital affects production function. Blue line (circle symbols) in graph below shows production function.
What does the hanging scale read : A beaker of mass 1.5kg containing 3.2kg of water rests on a scale. A 3.2kg block of a metallic alloy of density 53400 kg/m is suspended from a spring scale is submerged in water of density 1000 kg/m.
Design program which models the worms behavior : Design a program which models the worms behavior in the following scenario: A worm is moving toward an apple. Each time it moves, the worm cuts the distance between itself and the apple.
Resolve the distance and direction from lake b : State the maximum height in terms of a, t_1, and/or g. Note that in this problem, g is a positive number equal to the magnitude of the acceleration due to gravity.

Reviews

Write a Review

Programming Languages Questions & Answers

  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)

  Writing program of long term parking

Write an enitre program about the long term parking, and calculate the parking total fare.

  Write program to initializes array with ten random integers

Write a program which initializes the array with ten random integers and then prints four lines of output, containing: - Every element at an even index.

  Write a method to accepts string as parameter

Write a method called wordCount that accepts a String as its parameter and returns the number of words in the String. A word is a sequence of one or more nonspace characters

  Deisgn class contains data fields for height and surfacearea

Deisgn a class named Rectangle that contains data fields for height width and surfaceArea and a method named computeSurfaceArea?

  Develop the algorithms needed for designer robot

You have been hired as a system designer to develop the algorithms needed for a designer robot that can paint different patterns on the floor based on the commands it receives.

  Use switch statement to display roman numeral version

Use a switch statement to display the Roman numeral version of that number. Input Validation: Do not accept a number less than 1 or greater than 10.

  Deisgn child class that overrides parent method

Deisgn child class named Box, that contains additional data field named depth and a computeSurfaceArea() method that overrides the parent method appropriately for a three-dimensional box

  Write a program to compute the probability

Write a program (or a peudocode) to compute the probability that at least 2 people have the same birthday, given there are 2, 3, 4,....,60 people in the room.

  Write program to create n-dimensional array on th runtime

Write a program to create an n-dimensional array on the runtime with the help of pointers. The user will enter on the run time that how many dimensions are required.

  Top-down recursive descent parser

Write a hand-coded top-down recursive descent parser.

  Create xml document to mark up the nutrition facts

Create XML document to mark up the nutrition facts for a package of Grandma White's cookies. A package of cookies has a serving size of 1 package and the following nutritional value.

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