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

  Differentiating client-side and server-side scripting

Understanding difference between client-side and server-side scripting is significant when developing interactive sites. When and why should you use client-side versus server-side scripting?

  Program to ask how many games are being purchased

Your program should ask the store clerk how many games are being purchased and calculate a total due (with 6% tax). The total number of games, the discount amount.

  Write program asks user to enter temperature

Write a program that asks the user to enter a temperature, and then shows all the substances that will freeze at that temperature and all the substances that will boil at that temperature.

  Design and implement class instance data for title of book

Design and implement a class called Book that contains instance data for the title, author, publisher, and copyright date. Define the Book constructor to accept and initialize this data.

  Program to read list up to hundred addresses

efine a class called address_t with members for the four integers. Your program should read a list up to 100 addresses and nicknames terminated by a sentinel address of all zeros and nickname.

  Program to inputs encrypted four-digit integer

Write separate program to inputs encrypted four-digit integer and decrypts it to form the original number. thanks in advance for ur help.

  Design and algorithm that compute numbers of married men

Design and algorithm that will read through the file and compute the numbers of married men, single men, married women and single women.

  Design and implement a class contains instance data

Design and implement a class called sphere that contains instance data that represents the sphere's diameter. Define the Sphere constructor to accept and initialize the diameter.

  Application to print the sum of cubes

Write down the application to print the sum of cubes. Prompt for and read two integer values and print sum of each value raised to third power.

  Design logic for application to allow user to enter item

Design the logic for an application that allows a user to enter an ordered item continuously until a sentinel value is entered. After each item, display its price or the message.

  Program to compute percentage and final grade for students

Write a program which will permit teacher to compute percentage and final grade for students in a class.

  Write an application to calculate the factorials

Write an application that calculates the factorials of 1 through 20. use type long. Display the results in tabular format. What difficulty might prevent you from calculating the factorial of 100?

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