Create a procedure named status_ship_sp

Assignment Help PL-SQL Programming
Reference no: EM131443678

Create a procedure named STATUS_SHIP_SP that allows an employee in the Shipping Department to update an order status to add shipping information.

The BB_BASKETSTATUS table lists events for each order so that a shopper can see the current status, date, and comments as each stage of the order process is finished.

The IDSTAGE column of the BB_BASKETSTATUS table identifies each stage; the value 3 in this column indicates that an order has been shipped. The procedure should allow adding a row with an IDSTAGE of 3, date shipped, tracking number, and shipper.

The BB_STATUS_SEQ sequence is used to provide a value for the primary key column.

Test the procedure with the following information: Basket # = 3 Date shipped = 20-FEB-12 Shipper = UPS Tracking # = ZW2384YXK4957

Reference no: EM131443678

Questions Cloud

What can we as a society do to help individuals : There has been a lot of media attention surrounding PTSD and other stress-related disorders. What can we as a society do to help individuals who suffer from these disorders? Is there anything we can do to prevent these stress reactions from becom..
What evidence might a clinician be able to gather to support : Some people have argued that dissociative disorders (such as dissociative identity disorder) are not real, and that individuals displaying these symptoms are "faking it." What evidence might a clinician be able to gather to support one of these a..
What happens in the bond market and the loan market : In the move from a below equilibrium interest rate to the equilibrium interest rate, what happens in the bond market and the loan market? In the move from an above equilibrium interest rate to the equilibrium interest rate, what happens in the bon..
Why are women more likely to be diagnosed with depression : Why are women more likely to be diagnosed with depression than men? Which theory do you believe and why?
Create a procedure named status_ship_sp : Create a procedure named STATUS_SHIP_SP that allows an employee in the Shipping Department to update an order status to add shipping information.
Is there an acceptable reason for someone to commit suicide : Is there ever an acceptable reason for someone to commit suicide? If so, what? If not, should we always attempt to stop others from ending their lives?
What is the equation of exchange : a. What is the equation of exchange? b. In the equation of exchange, if V doubled, what would happen to nominal GDP as a result? c. In the equation of exchange, if V doubled and Q remained unchanged, what would happen to the price level as a result?
Identify causes-treatments for substance related disorders : Identify causes and treatments for substance related disorders.
Discuss the symptoms and treatments for sexual dysfunction : Choose between a sexual dysfunction or paraphilia from your textbook. Discuss the symptoms and treatments for that disorder.

Reviews

inf1443678

4/3/2017 6:01:26 AM

Given a fabulous paper and took after headings and finished all sources/references. involvement with her was the best. She's simply like her name and quick to. Incredible work.

inf1443678

4/3/2017 6:00:57 AM

Here is what I have for the database and tables and queries. My database is in a SQL developer so I am not sure how to send it through this platform.

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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